Environment affecting the configuration files in CLI mode |
Could be because CLI also runs in an "environment", and when it can't find CI_ENV, it defaults to wrong option, but you can easily set similar variables in any environment.
For Windows machines, you can search environment variables from your settings page. For Unix/Linux, you have to create/update a specific file that gets loaded when you log in or when user account is active - more here https://unix.stackexchange.com/questions...-variables For cron, you can set these variables from cron file, check the second and third answer from here - https://stackoverflow.com/questions/2229...b-will-use |
Messages In This Thread |
Environment affecting the configuration files in CLI mode - by kaitenz - 07-16-2018, 08:54 PM
RE: Environment affecting the configuration files in CLI mode - by Pertti - 07-16-2018, 11:24 PM
RE: Environment affecting the configuration files in CLI mode - by kaitenz - 07-17-2018, 12:02 AM
RE: Environment affecting the configuration files in CLI mode - by Pertti - 07-17-2018, 12:25 AM
RE: Environment affecting the configuration files in CLI mode - by kaitenz - 07-17-2018, 12:33 AM
RE: Environment affecting the configuration files in CLI mode - by Pertti - 07-17-2018, 01:06 AM
RE: Environment affecting the configuration files in CLI mode - by kaitenz - 07-17-2018, 02:11 AM
RE: Environment affecting the configuration files in CLI mode - by kaitenz - 07-17-2018, 02:21 AM
RE: Environment affecting the configuration files in CLI mode - by Pertti - 07-17-2018, 02:56 AM
|