aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_file.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm/acm_file.php')
-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);