You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During modification refresh It is likeley on a high traffic site that a request or two will slip through before the refresh has completed.
I would prefer my users to see a custom maintenance page or a custom 404 rather than a distorted or less than functioning page.
//just before files are deleted, if config settings say maintenance mode is off then turn it on
if(!$this->config->get('config_maintenance')){
$this->load->model('setting/setting');
$this->model_setting_setting->editSettingValue($code = 'config', $key = 'config_maintenance', $value = 1) ;
}
// Clear all modification files
....
....
// Log
$log[] = '----------------------------------------------------------------';
}
//just after modifications are complete, if config settings say maintenance mode is off then turn it back off.
if(!$this->config->get('config_maintenance')){
$this->model_setting_setting->editSettingValue($code = 'config', $key = 'config_maintenance', $value = 0) ;
}
// Log
$ocmod = new Log('ocmod.log');
foreach ($xml as $xml) {
The text was updated successfully, but these errors were encountered:
I believe it might be an issue when put into production.
The majority of the time when people click refresh will be to activate their newest uploaded modification.
Could we have a third action button in the modification list that allows the refresh of individual modifications?
During modification refresh It is likeley on a high traffic site that a request or two will slip through before the refresh has completed.
I would prefer my users to see a custom maintenance page or a custom 404 rather than a distorted or less than functioning page.
The text was updated successfully, but these errors were encountered: