Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/managers/request_manager.php
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
$this->Application->SetVar('all_passed', implode(',', $all_passed)); | $this->Application->SetVar('all_passed', implode(',', $all_passed)); | ||||
foreach ($events as $prefix_special => $event_name) { | foreach ($events as $prefix_special => $event_name) { | ||||
$event =& $this->runEvent($prefix_special, $event_name); | $event =& $this->runEvent($prefix_special, $event_name); | ||||
if ( $event->status == kEvent::erSTOP ) { | if ( $event->status == kEvent::erSTOP ) { | ||||
// event requested to stop processing at this point | // event requested to stop processing at this point | ||||
kUtil::safeDefine('DBG_SKIP_REPORTING', 1); | kUtil::safeDefine('DBG_SKIP_REPORTING', 1); | ||||
$this->Application->HandleEvent(new kEvent('adm:OnBeforeShutdown')); | |||||
$this->Application->Session->SaveData(); | $this->Application->Session->SaveData(); | ||||
exit; | exit; | ||||
} | } | ||||
if ( $event->status == kEvent::erPERM_FAIL ) { | if ( $event->status == kEvent::erPERM_FAIL ) { | ||||
$this->processPermissionError($event); | $this->processPermissionError($event); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 424 Lines • Show Last 20 Lines |