Index: branches/5.1.x/core/kernel/application.php =================================================================== diff -u -N -r14241 -r14326 --- branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14241) +++ branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14326) @@ -1,6 +1,6 @@ '', + 'ConfigVariables' => Array (), + ); + + /** * Returns kApplication instance anywhere in the script. * * This method should be used to get single kApplication object instance anywhere in the @@ -1029,7 +1039,7 @@ if ($this->GetVar('ajax') == 'yes' && !$this->GetVar('debug_ajax')) { // hide debug output from ajax requests automatically - define('DBG_SKIP_REPORTING', 1); + safeDefine('DBG_SKIP_REPORTING', 1); // safeDefine, because debugger also defines it } } elseif ($this->GetVar('admin')) {