Changeset 1911
- Timestamp:
- 12/04/2004 12:18:01 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r1893 r1911 46 46 47 47 // If someone has moved WordPress let's try to detect it 48 if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER[' REQUEST_URI']) != get_settings('siteurl') )49 update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER[' REQUEST_URI']) );48 if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']) != get_settings('siteurl') ) 49 update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']) ); 50 50 51 51 switch($action) {
Note: See TracChangeset
for help on using the changeset viewer.