Changeset 2047
- Timestamp:
- 01/05/05 02:06:16 (4 years ago)
- Files:
-
- trunk/wp-login.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-login.php
r2024 r2047 11 11 12 12 // If someone has moved WordPress let's try to detect it 13 if ( isset( $_SERVER['PATH_INFO'] ) ) 14 $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] ); 15 13 16 if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') ) 14 17 update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
