[wp-cvs] wordpress wp-settings.php,1.47,1.48
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sat Aug 7 01:22:20 UTC 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22311
Modified Files:
wp-settings.php
Log Message:
Define COOKIEHASH and new get_profile function. TODO: re-org function soup
Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** wp-settings.php 30 Jun 2004 15:31:48 -0000 1.47
--- wp-settings.php 7 Aug 2004 01:22:17 -0000 1.48
***************
*** 62,75 ****
$wpdb->show_errors();
! if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) {
!
$querystring_start = '?';
$querystring_equal = '=';
$querystring_separator = '&';
- //}
- // Used to guarantee unique cookies
- $cookiehash = md5(get_settings('siteurl'));
! } //end !$_wp_installing
require (ABSPATH . WPINC . '/vars.php');
--- 62,74 ----
$wpdb->show_errors();
! if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :
$querystring_start = '?';
$querystring_equal = '=';
$querystring_separator = '&';
! // Used to guarantee unique hash cookies
! $cookiehash = md5(get_settings('siteurl'));
! define('COOKIEHASH', $cookiehash);
! endif;
require (ABSPATH . WPINC . '/vars.php');
More information about the cvs
mailing list