CodeIgniter Forums
Change in index.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Change in index.php (/showthread.php?tid=79231)



Change in index.php - InsiteFX - 05-15-2021

The CodeIgniter 4 index.php has been bugging me for some time now on this.

Cosmic change.

PHP Code:
/*
 *---------------------------------------------------------------
 * LAUNCH THE APPLICATION
 *---------------------------------------------------------------
 * Now that everything is setup, it's time to actually fire
 * up the engines and make this app do its thang.
 */
$app->run();

// Should be

/*
 *---------------------------------------------------------------
 * LAUNCH THE APPLICATION
 *---------------------------------------------------------------
 * Now that everything is setup, it's time to actually fire
 * up the engines and make this app do its thing.
 */
$app->run(); 

See the last word in the last comment block thank should be thing.


RE: Change in index.php - craig - 05-15-2021

Thang is just slang for thing. You can always change or remove the comment if you don't like it, or submit a PR on GitHub for the maintainers to consider Smile


RE: Change in index.php - John_Betong - 05-15-2021

@InsiteFX,
Vague memories and not checked but preferred CI3 “and away we go” Smile


RE: Change in index.php - MGatner - 05-22-2021

Now that you point it out, “setup” (should be “set up”) and “to actually fire” (split infinitive) are going to drive me crazy ?