Base_url as a default value in a custom Config file |
@sevmusic,
>>> Is getting the base_url() possible as a default value in a Config file? Perhaps consider defining the CONST in index.php and it will be available throughout the application: file: /index.php PHP Code: # DYNAMIC PATH =================================================== file: app/Config/App.php PHP Code: public $baseURL = BASE_URL; // http://localhost:8080/'; |
Messages In This Thread |
Base_url as a default value in a custom Config file - by sevmusic - 10-15-2021, 10:01 AM
RE: Base_url as a default value in a custom Config file - by includebeer - 10-16-2021, 02:05 PM
RE: Base_url as a default value in a custom Config file - by kenjis - 10-16-2021, 07:19 PM
RE: Base_url as a default value in a custom Config file - by John_Betong - 10-16-2021, 11:16 PM
RE: Base_url as a default value in a custom Config file - by MGatner - 10-23-2021, 05:06 AM
|