diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-04-21 00:03:46 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-04-21 00:03:46 +0000 |
commit | d637dbbe1d94f9e503bce3c0c5497accfa2728cd (patch) | |
tree | cbbbaa8e852d9843f70d83800a483a29b8759dfe /include | |
parent | d766c69272ece6def7e72469999d5d4e762262da (diff) |
bug 345: cannot browse categories (Club Internet modified web server provides
PATH_INFO even if it is empty)
fix 339: also added in create_listing_file.php
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1228 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/section_init.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php index c29686e6f..3a27882ba 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -53,7 +53,7 @@ $page['section'] = 'categories'; -if ( isset($_SERVER["PATH_INFO"]) ) +if ( isset($_SERVER["PATH_INFO"]) and !empty($_SERVER["PATH_INFO"]) ) { $rewritten = $_SERVER["PATH_INFO"]; $rewritten = str_replace('//', '/', $rewritten); |