diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-03 15:05:35 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-03 15:05:35 +0000 |
commit | 1046c6021171f89223e0f93a90915537c3ba6dbf (patch) | |
tree | 6c6a34aedcce5eb98b356ed6b946c32788de7d30 /phpBB/includes/acm/acm_file.php | |
parent | e527bc6f4cf7ad81ee9344d271336ab106a27c28 (diff) | |
download | forums-1046c6021171f89223e0f93a90915537c3ba6dbf.tar forums-1046c6021171f89223e0f93a90915537c3ba6dbf.tar.gz forums-1046c6021171f89223e0f93a90915537c3ba6dbf.tar.bz2 forums-1046c6021171f89223e0f93a90915537c3ba6dbf.tar.xz forums-1046c6021171f89223e0f93a90915537c3ba6dbf.zip |
we support PHP4. :o
git-svn-id: file:///svn/phpbb/trunk@7112 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acm/acm_file.php')
-rw-r--r-- | phpBB/includes/acm/acm_file.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php index 9e53b5af59..63b24a8d07 100644 --- a/phpBB/includes/acm/acm_file.php +++ b/phpBB/includes/acm/acm_file.php @@ -251,9 +251,7 @@ class acm } // The following method is more failproof than simply assuming the query is on line 3 (which it should be) - - // Get 1 KiB, we do not expect a query string to be any larger... - $check_line = file_get_contents($this->cache_dir . $entry, false, NULL, 5, 1024); + $check_line = file_get_contents($this->cache_dir . $entry); // Now get the contents between /* and */ $check_line = substr($check_line, strpos($check_line, '/* ') + 3, strpos($check_line, ' */') - strpos($check_line, '/* ') - 3); |