Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/application.php
Show First 20 Lines • Show All 1079 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Only renders template | * Only renders template | ||||
* | * | ||||
* @see kDBEventHandler::_errorNotFound() | * @see kDBEventHandler::_errorNotFound() | ||||
*/ | */ | ||||
public function QuickRun() | public function QuickRun() | ||||
{ | { | ||||
// discard any half-parsed content | // Replace current page content with 404. | ||||
ob_clean(); | |||||
// replace current page content with 404 | |||||
$this->InitParser(); | $this->InitParser(); | ||||
$this->Parser->Clear(); | |||||
$this->HTML = $this->Parser->Run($this->GetVar('t')); | $this->HTML = $this->Parser->Run($this->GetVar('t')); | ||||
} | } | ||||
/** | /** | ||||
* Performs template parser/cache initialization | * Performs template parser/cache initialization | ||||
* | * | ||||
* @param bool|string $theme_name | * @param bool|string $theme_name | ||||
* @return void | * @return void | ||||
▲ Show 20 Lines • Show All 1981 Lines • Show Last 20 Lines |