diff options
author | rub <rub@piwigo.org> | 2007-01-02 22:57:33 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-01-02 22:57:33 +0000 |
commit | 8c60f0e7fc3baacbc6e42b9a1fa0581587f8e701 (patch) | |
tree | 5453131c1da07f93f4dba753e18f9f814f653ba4 | |
parent | 481188f7ea77418b46100d66a383f9a98f4cd029 (diff) |
Issue ID 0000529 Re-Fixed.
$_SERVER["SCRIPT_FILENAME"] not treated (only $_SERVER['SCRIPT_FILENAME'] was treated)
Merge branch-1_6 1690:1691 into BSF
git-svn-id: http://piwigo.org/svn/trunk@1692 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index d97a44b07..07d73ee6c 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -165,8 +165,7 @@ if ($conf['gallery_locked']) { $header_msgs[] = $lang['gallery_locked_message']; - if ( basename($_SERVER["SCRIPT_FILENAME"]) != 'identification.php' - and !is_admin() ) + if ( script_basename() != 'identification' and !is_admin() ) { //next line required if PATH_INFO (no ? in url) but won't work for scripts outside PWG $page['root_path'] = cookie_path(); |