diff options
author | Nils Adermann <naderman@naderman.de> | 2006-01-05 12:10:31 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-01-05 12:10:31 +0000 |
commit | 717424444680049eb0e2956486bcc149fe5cd851 (patch) | |
tree | 6108ed72507e5a32b1359810fe379c88b7df9f4d /phpBB/includes/acm/acm_file.php | |
parent | 636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34 (diff) | |
download | forums-717424444680049eb0e2956486bcc149fe5cd851.tar forums-717424444680049eb0e2956486bcc149fe5cd851.tar.gz forums-717424444680049eb0e2956486bcc149fe5cd851.tar.bz2 forums-717424444680049eb0e2956486bcc149fe5cd851.tar.xz forums-717424444680049eb0e2956486bcc149fe5cd851.zip |
- 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
Diffstat (limited to 'phpBB/includes/acm/acm_file.php')
-rw-r--r-- | phpBB/includes/acm/acm_file.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php index 8f7e79aad5..0df3c05a98 100644 --- a/phpBB/includes/acm/acm_file.php +++ b/phpBB/includes/acm/acm_file.php @@ -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} == '_') { |