Changeset 3051

Show
Ignore:
Timestamp:
11/11/05 02:22:19 (3 years ago)
Author:
matt
Message:

PHP notice fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r3045 r3051  
    4040 
    4141// Fix for PHP as CGI hosts that set PATH_INFO to PHP_SELF value 
    42 if ( $_SERVER['PATH_INFO'] == $_SERVER['PHP_SELF'] ) 
     42if ( isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] == $_SERVER['PHP_SELF'] ) 
    4343    unset($_SERVER['PATH_INFO']); 
    4444