Page MenuHomeIn-Portal Phabricator

D50.id166.diff
No OneTemporary

File Metadata

Created
Wed, Feb 26, 9:01 AM

D50.id166.diff

Index: core/kernel/application.php
===================================================================
--- core/kernel/application.php
+++ core/kernel/application.php
@@ -381,7 +381,9 @@
$this->InitDone = true;
- $this->HandleEvent(new kEvent('adm:OnStartup'));
+ if ( PHP_SAPI !== 'cli' && !$this->isAdmin ) {
+ $this->HandleEvent(new kEvent('adm:OnStartup'));
+ }
return true;
}

Event Timeline