Index: trunk/core/kernel/application.php =================================================================== diff -u -r8104 -r8178 --- trunk/core/kernel/application.php (.../application.php) (revision 8104) +++ trunk/core/kernel/application.php (.../application.php) (revision 8178) @@ -1590,7 +1590,7 @@ // that's why $this->Session may be not defined here $session =& $this->Application->recallObject('Session'); /* @var $session Session */ - + $session->SaveData(); exit; } @@ -1674,7 +1674,7 @@ if ($res) { $this->Caches['PhraseList'] = $res['PhraseList'] ? explode(',', $res['PhraseList']) : array(); - + $config_ids = $res['ConfigVariables'] ? explode(',', $res['ConfigVariables']) : array(); if (isset($this->Caches['ConfigVariables'])) { $config_ids = array_diff($config_ids, $this->Caches['ConfigVariables']); @@ -2381,7 +2381,7 @@ if ($time_zone == 'GMT') { return (-1) * adodb_date('Z'); } - + $target_zone = isset($time_zone) ? $time_zone : $this->ConfigValue('Config_Site_Time'); return 3600 * ($target_zone - $this->ConfigValue('Config_Server_Time')); } @@ -2423,8 +2423,8 @@ } return $user_groups; } - + /** * Allows to detect if page is browsed by spider (293 agents supported) * @@ -2433,7 +2433,7 @@ function IsSpider() { static $is_spider = null; - + if (!isset($is_spider)) { $user_agent = trim($_SERVER['HTTP_USER_AGENT']); $robots = file(FULL_PATH.'/core/robots_list.txt'); @@ -2445,10 +2445,10 @@ } } } - + return $is_spider; } - + /** * Allows to detect table's presense in database * @@ -2473,10 +2473,10 @@ { $count_helper =& $this->Application->recallObject('CountHelper'); /* @var $count_helper kCountHelper */ - + return $count_helper->getCounter($name, $params, $query_name, $multiple_results); } - + /** * Resets counter, whitch are affected by one of specified tables * @@ -2486,7 +2486,7 @@ { $count_helper =& $this->Application->recallObject('CountHelper'); /* @var $count_helper kCountHelper */ - + return $count_helper->resetCounters($tables); } }