mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -34,13 +34,13 @@ $filter = array();
|
||||
|
||||
|
||||
$filter['enabled'] =
|
||||
(in_array(basename($_SERVER['SCRIPT_FILENAME']), $conf['filter_pages'])) and
|
||||
(in_array(script_basename(), $conf['filter_pages'])) and
|
||||
(
|
||||
(isset($_GET['filter']) and ($_GET['filter'] == 'start')) or
|
||||
pwg_get_session_var('filter_enabled', false)
|
||||
);
|
||||
|
||||
if (in_array(basename($_SERVER['SCRIPT_FILENAME']), $conf['filter_pages']))
|
||||
if (in_array(script_basename(), $conf['filter_pages']))
|
||||
{
|
||||
if (isset($_GET['filter']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user