Changeset 1305


Ignore:
Timestamp:
May 9, 2006, 2:29:07 AM (18 years ago)
Author:
rvelices
Message:

fix: URLs not working with some ISPs that set _SERVERPATH_INFO in a
non standard way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/section_init.inc.php

    r1287 r1305  
    5454$page['section'] = 'categories';
    5555
    56 if ( isset($_SERVER["PATH_INFO"]) and !empty($_SERVER["PATH_INFO"]) )
     56// some ISPs set PATH_INFO to empty string or to SCRIPT_FILENAME while in the
     57// default apache implementation it is not set
     58if ( $conf['question_mark_in_urls']==false and
     59     isset($_SERVER["PATH_INFO"]) and !empty($_SERVER["PATH_INFO"]) )
    5760{
    5861  $rewritten = $_SERVER["PATH_INFO"];
Note: See TracChangeset for help on using the changeset viewer.