Changeset 3408
- Timestamp:
- 01/06/06 01:05:59 (3 years ago)
- Files:
-
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-settings.php
r3382 r3408 36 36 37 37 // Fix for PHP as CGI hosts that set SCRIPT_FILENAME to something ending in php.cgi for all requests 38 if ( strpos($_SERVER['SCRIPT_FILENAME'], 'php.cgi') == strlen($_SERVER['SCRIPT_FILENAME']) - 7)38 if ( isset($_SERVER['SCRIPT_FILENAME']) && ( strpos($_SERVER['SCRIPT_FILENAME'], 'php.cgi') == strlen($_SERVER['SCRIPT_FILENAME']) - 7 ) ) 39 39 $_SERVER['SCRIPT_FILENAME'] = $_SERVER['PATH_TRANSLATED']; 40 40
