Page MenuHomeIn-Portal Phabricator

D50.id291.diff
No OneTemporary

File Metadata

Created
Thu, May 8, 6:28 AM

D50.id291.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
@@ -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