mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 03:25:18 +02:00
Minor change. You may have to empty your cache.
git-svn-id: file:///svn/phpbb/trunk@4468 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -198,11 +198,10 @@ class acm
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$query_id = 'Cache id #' . count($this->sql_rowset);
|
||||||
include($this->cache_dir . 'sql_' . md5($query) . '.' . $phpEx);
|
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;
|
return $query_id;
|
||||||
}
|
}
|
||||||
@ -234,7 +233,7 @@ class acm
|
|||||||
$lines[] = substr($line, 0, -1) . ')';
|
$lines[] = substr($line, 0, -1) . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
fwrite($fp, "<?php\n\n/*\n$query\n*/\n\n\$rowset = array(" . implode(',', $lines) . ') ?>');
|
fwrite($fp, "<?php\n\n/*\n$query\n*/\n\n\$this->sql_rowset[\$query_id] = array(" . implode(',', $lines) . ') ?>');
|
||||||
@flock($fp, LOCK_UN);
|
@flock($fp, LOCK_UN);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user