Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r14585 -r14588 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14585) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14588) @@ -1,6 +1,6 @@ GetVar('ajax') == 'yes' && !$this->GetVar('debug_ajax')) { // hide debug output from ajax requests automatically - safeDefine('DBG_SKIP_REPORTING', 1); // safeDefine, because debugger also defines it + kUtil::safeDefine('DBG_SKIP_REPORTING', 1); // safeDefine, because debugger also defines it } } elseif ($this->GetVar('admin')) { @@ -1542,7 +1542,7 @@ else { if ($this->GetVar('ajax') == 'yes' && $t != $this->GetVar('t')) { // redirection to other then current template during ajax request - safeDefine('DBG_SKIP_REPORTING', 1); + kUtil::safeDefine('DBG_SKIP_REPORTING', 1); echo '#redirect#' . $location; } elseif (headers_sent() != '') { @@ -2048,6 +2048,7 @@ * Handles exception * * @param Exception $exception + * @return bool */ function handleException($exception) {