Changeset 763
- Timestamp:
- 01/12/2004 12:50:32 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
wp-admin/import-b2.php (modified) (2 diffs)
-
wp-admin/upgrade-functions.php (modified) (1 diff)
-
wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import-b2.php
r705 r763 2 2 if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config.sample.php with the proper database connection information and renamed it to wp-config.php."); 3 3 require_once('../wp-config.php'); 4 4 require('upgrade-functions.php'); 5 5 $step = $HTTP_GET_VARS['step']; 6 6 if (!$step) $step = 0; … … 241 241 242 242 $q = $wpdb->query($query); 243 upgrade_071(); 244 upgrade_072(); 245 upgrade_100(); 246 ?> 247 248 <p>Don't forget to CHMOD the <code>weblogs.com.changes.cache</code> file and you'll 249 be A-okay. Welcome to the family.</p> 243 upgrade_all(); 244 ?> 245 246 <p>Welcome to the family. <a href="../">Have fun</a>!</p> 250 247 <?php 251 248 break; -
trunk/wp-admin/upgrade-functions.php
r762 r763 166 166 } 167 167 168 // Guess a site URI 169 $guessurl = preg_replace('|/wp-admin/.*|i', '', 'http://' . $HTTP_HOST . $REQUEST_URI); 168 170 $option_data = array( //base options from b2cofig 169 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (1,'siteurl', 3, ' http://example.com', 'siteurl is your blog\'s URL: for example, \'http://example.com/wordpress\' (no trailing slash !)', 8, 30)",171 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (1,'siteurl', 3, '$guessurl', 'siteurl is your blog\'s URL: for example, \'http://example.com/wordpress\'', 8, 30)", 170 172 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (2,'blogfilename', 3, 'index.php', 'blogfilename is the name of the default file for your blog', 8, 20)", 171 173 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (3,'blogname', 3, 'my weblog', 'blogname is the name of your blog', 8, 20)", -
trunk/wp-settings.php
r725 r763 45 45 // get_settings() wherever these are needed OR 46 46 // accessing a single global $all_settings var 47 if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php') ) {47 if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php') && !strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'wp-admin/import')) { 48 48 $siteurl = get_settings('siteurl'); 49 49 // "When trying to design a foolproof system,
Note: See TracChangeset
for help on using the changeset viewer.