aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_calendar.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-12-31 17:08:37 +0000
committerrub <rub@piwigo.org>2006-12-31 17:08:37 +0000
commit9c914a2b6659c58b5648fbd05c6fcedb2f2a808e (patch)
tree769ccc4eb8b60e870d6486153fd8ba4b0e3f9dcd /include/functions_calendar.inc.php
parent48879ca17794cb929b0a999a02d39041a7687ca6 (diff)
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
Diffstat (limited to 'include/functions_calendar.inc.php')
-rw-r--r--include/functions_calendar.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_calendar.inc.php b/include/functions_calendar.inc.php
index 3bb70ed35..cca864218 100644
--- a/include/functions_calendar.inc.php
+++ b/include/functions_calendar.inc.php
@@ -186,7 +186,7 @@ WHERE id IN (' . implode(',',$page['items']) .')';
//echo ('<pre>'. var_export($calendar, true) . '</pre>');
$must_show_list = true; // true until calendar generates its own display
- if (basename($_SERVER['SCRIPT_FILENAME']) != 'picture.php')
+ if (script_basename() != 'picture.php')
{
$template->assign_block_vars('calendar', array());