mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
fix some issues with oop, fixing small bugs and prepare the next steps...
NOTE TO DEVS: have a look at adm/admin_board.php (new config layout) git-svn-id: file:///svn/phpbb/trunk@4883 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -188,7 +188,12 @@ class acm
|
||||
$this->load();
|
||||
}
|
||||
|
||||
return (time() > $this->var_expires[$var_name]) ? FALSE : isset($this->vars[$var_name]);
|
||||
if (!isset($this->var_expires[$var_name]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return (time() > $this->var_expires[$var_name]) ? false : isset($this->vars[$var_name]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +230,7 @@ class acm
|
||||
$query = preg_replace('/[\n\r\s\t]+/', ' ', $query);
|
||||
$query_id = 'Cache id #' . count($this->sql_rowset);
|
||||
|
||||
include($this->cache_dir . 'sql_' . md5($query) . ".$phpEx");
|
||||
@include($this->cache_dir . 'sql_' . md5($query) . ".$phpEx");
|
||||
if (!isset($expired))
|
||||
{
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user