Changeset 3408 for trunk/wp-settings.php
- Timestamp:
- 01/06/2006 01:05:59 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.