Changeset 1306


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

merge -r1305 from branch-1_6 to trunk
fix: URLs not working with some ISPs that set _SERVERPATH_INFO in a
non standard way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/section_init.inc.php

    r1288 r1306  
    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.