![]() |
I've been looking around but I still can't find a clear concept about the diferrences of these two:
PHP Code: app_baseURL = 'http://myurl.any/' PHP Code: public $baseURL = 'http://myurl.any/'; As far as my understanding goes about CodeIgniter the one declared on the .env file has development purposes only and the one in the App.php is for production... Or that's what I thougth. ![]() Running some tests today I found myself with an App crash after I removed/comment the public $baseURL from the App.php file even while in the .env file the CodeIgniter environment has been set as development. PHP Code: CI_ENVIRONMENT = development What's the real difference and case of use for each one of them? ![]()
Machines obbey the software instructions, software instructions obbeys the logic of the developer.
Therefore is not the systems fault if the developer's logic is fudged up! ¯\_(ツ)_/¯ |
Messages In This Thread |
app.baseurl or public $baseURL - by gfgrisales - 08-03-2022, 04:35 AM
RE: app.baseurl or public $baseURL - by kilishan - 08-03-2022, 06:35 AM
RE: app.baseurl or public $baseURL - by gfgrisales - 08-04-2022, 05:22 AM
RE: app.baseurl or public $baseURL - by ozornick - 08-03-2022, 10:59 PM
|