[wp-cvs] wordpress wp-settings.php,1.71,1.72

Matthew Mullenweg saxmatt at users.sourceforge.net
Wed Feb 2 10:51:44 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29217

Modified Files:
	wp-settings.php 
Log Message:
Allow for custom user table. If rewriting user functions need to include from wp-config

Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** wp-settings.php	1 Feb 2005 06:20:53 -0000	1.71
--- wp-settings.php	2 Feb 2005 10:51:42 -0000	1.72
***************
*** 46,49 ****
--- 46,52 ----
  $wpdb->postmeta            = $table_prefix . 'postmeta';
  
+ if ( defined('CUSTOM_USER_TABLE') )
+ 	$wpdb->users = CUSTOM_USER_TABLE;
+ 
  // We're going to need to keep this around for a few months even though we're not using it internally
  
***************
*** 90,94 ****
  require (ABSPATH . WPINC . '/vars.php');
  
- 
  // Check for hacks file if the option is enabled
  if (get_settings('hack_file')) {
--- 93,96 ----



More information about the cvs mailing list