Changeset 3517 for trunk/wp-settings.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r3514 r3517 10 10 // Variables that shouldn't be unset 11 11 $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix'); 12 12 13 13 $input = array_merge($_GET, $_POST, $_COOKIE, $_SERVER, $_ENV, $_FILES, isset($_SESSION) && is_array($_SESSION) ? $_SESSION : array()); 14 14 foreach ( $input as $k => $v ) … … 28 28 if ( empty( $_SERVER['REQUEST_URI'] ) ) { 29 29 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; // Does this work under CGI? 30 30 31 31 // Append the query string if it exists and isn't null 32 32 if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) {
Note: See TracChangeset
for help on using the changeset viewer.