Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803935
D50.id166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 26, 9:01 AM
Size
400 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 9:01 AM (5 h, 1 m)
Engine
blob
Format
Raw Data
Handle
576655
Attached To
D50: INP-1413 - Don't do full Application Init during deployment
D50.id166.diff
View Options
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
Log In to Comment