aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-03-03 15:05:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-03-03 15:05:35 +0000
commit1046c6021171f89223e0f93a90915537c3ba6dbf (patch)
tree6c6a34aedcce5eb98b356ed6b946c32788de7d30 /phpBB/includes
parente527bc6f4cf7ad81ee9344d271336ab106a27c28 (diff)
downloadforums-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')
-rw-r--r--phpBB/includes/acm/acm_file.php4
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);