mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
he braces style is deprecated as of PHP 6
git-svn-id: file:///svn/phpbb/trunk@6459 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -142,7 +142,7 @@ class acm
|
||||
*/
|
||||
function get($var_name)
|
||||
{
|
||||
if ($var_name{0} == '_')
|
||||
if ($var_name[0] == '_')
|
||||
{
|
||||
global $phpEx;
|
||||
|
||||
@@ -165,7 +165,7 @@ class acm
|
||||
*/
|
||||
function put($var_name, $var, $ttl = 31536000)
|
||||
{
|
||||
if ($var_name{0} == '_')
|
||||
if ($var_name[0] == '_')
|
||||
{
|
||||
global $phpEx;
|
||||
|
||||
@@ -249,7 +249,7 @@ class acm
|
||||
return;
|
||||
}
|
||||
|
||||
if ($var_name{0} == '_')
|
||||
if ($var_name[0] == '_')
|
||||
{
|
||||
@unlink($this->cache_dir . 'data' . $var_name . ".$phpEx");
|
||||
}
|
||||
@@ -269,7 +269,7 @@ class acm
|
||||
*/
|
||||
function _exists($var_name)
|
||||
{
|
||||
if ($var_name{0} == '_')
|
||||
if ($var_name[0] == '_')
|
||||
{
|
||||
global $phpEx;
|
||||
return file_exists($this->cache_dir . 'data' . $var_name . ".$phpEx");
|
||||
|
Reference in New Issue
Block a user