Changeset 11450 for trunk/wp-admin/includes/file.php
- Timestamp:
- 05/24/2009 11:47:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r11312 r11450 72 72 $wp_path_rel_to_home = str_replace($home, '', $siteurl); /* $siteurl - $home */ 73 73 $pos = strpos($_SERVER["SCRIPT_FILENAME"], $wp_path_rel_to_home); 74 $home_path = substr($_SERVER["SCRIPT_FILENAME"], 0, $pos); 74 $home_path = substr($_SERVER["SCRIPT_FILENAME"], 0, $pos); 75 75 $home_path = trailingslashit( $home_path ); 76 76 } else { … … 688 688 $credentials['connection_type'] = 'ftp'; 689 689 690 if ( ! $error && 690 if ( ! $error && 691 691 ( 692 692 ( !empty($credentials['password']) && !empty($credentials['username']) && !empty($credentials['hostname']) ) ||
Note: See TracChangeset
for help on using the changeset viewer.