[wp-cvs] wordpress wp-settings.php,1.64,1.65
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Dec 19 07:26:45 UTC 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14474
Modified Files:
wp-settings.php
Log Message:
Bug fixes
Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** wp-settings.php 16 Dec 2004 02:56:57 -0000 1.64
--- wp-settings.php 19 Dec 2004 07:26:43 -0000 1.65
***************
*** 59,62 ****
--- 59,68 ----
require (ABSPATH . WPINC . '/functions.php');
+
+ $wpdb->hide_errors();
+ if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') )
+ die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");
+ $wpdb->show_errors();
+
require (ABSPATH . WPINC . '/functions-formatting.php');
require (ABSPATH . WPINC . '/functions-post.php');
***************
*** 68,76 ****
require_once (ABSPATH . WPINC . '/wp-l10n.php');
- $wpdb->hide_errors();
- if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') )
- die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");
- $wpdb->show_errors();
-
if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :
$querystring_start = '?';
--- 74,77 ----
More information about the cvs
mailing list