Issue ID 0000529 Fixed.

Problem with $_SERVER['SCRIPT_FILENAME'] on IIS server

Merge branch-1_6 1685:1686 into BSF

git-svn-id: http://piwigo.org/svn/trunk@1687 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2006-12-31 17:08:37 +00:00
parent 48879ca177
commit 9c914a2b66
5 changed files with 42 additions and 6 deletions
+1 -1
View File
@@ -177,7 +177,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'