From 988b6bf7516cb2e3644bbfd05abd19c173d7ca59 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 7 Jan 2005 01:24:33 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=517 git-svn-id: http://svn.automattic.com/wordpress/trunk@2065 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/plugins/staticize-reloaded.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/plugins/staticize-reloaded.php b/wp-content/plugins/staticize-reloaded.php index 69ea3910e5..9f3eaa97b7 100644 --- a/wp-content/plugins/staticize-reloaded.php +++ b/wp-content/plugins/staticize-reloaded.php @@ -33,9 +33,9 @@ function StaticizeInit() { global $staticFileName, $acceptableFiles, $timestart, $http; $key = $_SERVER['REQUEST_URI'] . join($_COOKIE, ','); - $script = basename($_SERVER['SCRIPT_NAME']); + $script = basename($_SERVER['PHP_SELF']); - if( strstr($_SERVER['SCRIPT_NAME'], 'wp-') && !in_array($script, $acceptableFiles) ) + if( strstr($_SERVER['PHP_SELF'], 'wp-') && !in_array($script, $acceptableFiles) ) return; $staticFileName = md5($key) . '.php';