From 9f4d9ae26888020e8b32e16076d54220e4b9f16f Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Thu, 4 Sep 2003 21:51:22 +0000 Subject: [PATCH] Minor change. You may have to empty your cache. git-svn-id: file:///svn/phpbb/trunk@4468 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acm/acm_file.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php index 3f209bdf40..02f42a6f95 100644 --- a/phpBB/includes/acm/acm_file.php +++ b/phpBB/includes/acm/acm_file.php @@ -198,11 +198,10 @@ class acm return FALSE; } + $query_id = 'Cache id #' . count($this->sql_rowset); include($this->cache_dir . 'sql_' . md5($query) . '.' . $phpEx); - $query_id = 'Cache id #' . count($this->sql_rowset); - - $this->sql_rowset[$query_id] =& $rowset; +// $this->sql_rowset[$query_id] =& $rowset; return $query_id; } @@ -234,7 +233,7 @@ class acm $lines[] = substr($line, 0, -1) . ')'; } - fwrite($fp, "'); + fwrite($fp, "sql_rowset[\$query_id] = array(" . implode(',', $lines) . ') ?>'); @flock($fp, LOCK_UN); fclose($fp);