We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to give the is_site_on setting the same treatment as the debug preference.
So far, in config.master.php I have added; $env_config['is_system_on'] = (ENV_SYSTEM_ON) ? 'y' : 'n' ;
Then within config.env.php, in the appropriate CASE I have; define('ENV_SYSTEM_ON', FALSE);
However the setting I make in config.env.php seems to be ignored and the only way to turn the site on or off is to do so within the CP.
Do you have any idea why this may be and how I could overcome it so I could set the on/off status within my environment cases?
The text was updated successfully, but these errors were encountered:
I'm not sure if this is what you're looking for but I've been doing the below which has been working well for me:
within the appropriate file for example: config.dev.php I'm just adding this config var: $env_config['is_site_on'] = 'y';
Devot-ee Has a bunch of the ExpressionEngine config variables listed here: http://devot-ee.com/ee-config-vars
Sorry, something went wrong.
No branches or pull requests
I'm trying to give the is_site_on setting the same treatment as the debug preference.
So far, in config.master.php I have added;
$env_config['is_system_on'] = (ENV_SYSTEM_ON) ? 'y' : 'n' ;
Then within config.env.php, in the appropriate CASE I have;
define('ENV_SYSTEM_ON', FALSE);
However the setting I make in config.env.php seems to be ignored and the only way to turn the site on or off is to do so within the CP.
Do you have any idea why this may be and how I could overcome it so I could set the on/off status within my environment cases?
The text was updated successfully, but these errors were encountered: