Welcome Guest, Not a member yet? Register   Sign In
Environment affecting the configuration files in CLI mode
#6

Using 'system' is fine - the files are in it's separate folder, so updating CI itself won't be an issue.

If you really must keep it somewhere else, you need to adjust following line in index.php example:
PHP Code:
require_once BASEPATH.'dotenv/autoloader.php'

In this context BASEPATH is 'system/', so if you want to put your dotenv files somewhere else, you need to update paths for require_once accordingly.
Reply


Messages In This Thread
RE: Environment affecting the configuration files in CLI mode - by Pertti - 07-17-2018, 01:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB