diff options
author | rub <rub@piwigo.org> | 2006-12-31 17:02:36 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-12-31 17:02:36 +0000 |
commit | 09e2c295e81d0fd55e9871619dacac990c52b81a (patch) | |
tree | 0f8a4f5448144a2a8d857fc2c2b96270a89d9828 /include/common.inc.php | |
parent | 37c05655eeb5bb660dd57978e44b859f5ade56e2 (diff) |
Issue ID 0000529 Fixed.
Problem with $_SERVER['SCRIPT_FILENAME'] on IIS server
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1686 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 217395a6f..baabfdf72 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -174,7 +174,7 @@ if ($conf['gallery_locked']) } if ($user['is_the_guest'] and !$conf['guest_access'] - and !in_array( basename($_SERVER['SCRIPT_FILENAME']), + and !in_array( script_basename(), array('identification.php', 'password.php', 'register.php' |