\r
/* \r
* Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
- * Copyright (C) 2002-2012 The Nucleus Group\r
+ * Copyright (C) 2002-2009 The Nucleus Group\r
* \r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
* A class representing site members\r
* \r
* @license http://nucleuscms.org/license.txt GNU General Public License\r
- * @copyright Copyright (C) 2002-2012 The Nucleus Group\r
+ * @copyright Copyright (C) 2002-2009 The Nucleus Group\r
* @version $Id: MEMBER.php 1616 2012-01-08 09:48:15Z sakamocchi $\r
*/\r
class Member\r
*/\r
if ( !$this->cookie_salt )\r
{\r
- $this->set_cookie_salt($CONF['secureCookieKey']);\r
+ $salt = 0;\r
+ if ( array_key_exists('secureCookieKey', $CONF) )\r
+ {\r
+ $salt = $CONF['secureCookieKey'];\r
+ }\r
+ $this->set_cookie_salt($salt);\r
}\r
\r
$success = 0;\r
*/\r
if ( !$this->cookie_salt )\r
{\r
- $this->set_cookie_salt($CONF['secureCookieKey']);\r
+ $salt = 0;\r
+ if ( array_key_exists('secureCookieKey', $CONF) )\r
+ {\r
+ $salt = $CONF['secureCookieKey'];\r
+ }\r
+ $this->set_cookie_salt($salt);\r
}\r
+ \r
if ( $this->cookie_salt !== 'none' )\r
{\r
$ck = $this->hash($ck . $this->cookie_salt);\r