Index: branches/5.2.x/core/kernel/application.php =================================================================== --- branches/5.2.x/core/kernel/application.php +++ branches/5.2.x/core/kernel/application.php @@ -385,6 +385,10 @@ if ( PHP_SAPI !== 'cli' && !$this->isAdmin ) { $this->HandleEvent(new kEvent('adm:OnStartup')); } + else { + // User can't edit anything in Admin Console or in CLI mode. + kUtil::safeDefine('EDITING_MODE', ''); + } return true; }