summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArto Bendiken2008-10-25 14:56:31 (GMT)
committerArto Bendiken2008-10-25 14:56:31 (GMT)
commita54f965cdf3483e342b7cf7ac5dda1ce02e94262 (patch)
tree9dd77b6288cf38de0ae3f3b5861d9ee12c145a6a
parent86ce147491b0dd81711f6ea8228526bb6cfe4615 (diff)
#223496 by vivekkhera: Use SCRIPT_FILENAME instead of PHP_SELF.
-rw-r--r--boost.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost.module b/boost.module
index 61ac034..8ebf7e3 100644
--- a/boost.module
+++ b/boost.module
@@ -95,7 +95,7 @@ function boost_menu($may_cache) {
*/
function boost_init() {
// Stop right here unless we're being called for an ordinary page request
- if (strpos($_SERVER['PHP_SELF'], 'index.php') === FALSE)
+ if (strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') === FALSE)
return;
// TODO: check interaction with other modules that use ob_start(); this