Page MenuHomeIn-Portal Phabricator

D323.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 3:56 AM

D323.diff

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;
}

Event Timeline