1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- acm::exists() is considered private now and was renamed to acm::_exists()

git-svn-id: file:///svn/phpbb/trunk@5425 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2006-01-05 12:10:31 +00:00
parent 636ab0f5ea
commit 7174244446
4 changed files with 23 additions and 37 deletions

View File

@@ -114,12 +114,17 @@ class acm
{
global $phpEx;
if (!$this->_exists($var_name))
{
return false;
}
include($this->cache_dir . 'data' . $var_name . ".$phpEx");
return (isset($data)) ? $data : NULL;
return (isset($data)) ? $data : false;
}
else
{
return ($this->exists($var_name)) ? $this->vars[$var_name] : NULL;
return ($this->_exists($var_name)) ? $this->vars[$var_name] : false;
}
}
@@ -184,7 +189,7 @@ class acm
}
}
function exists($var_name)
function _exists($var_name)
{
if ($var_name{0} == '_')
{