cvs: pear /LiveUser_Admin/Auth Common.php /LiveUser_Admin/docs/examples/example 1 config.inc.php
| From: | Lukas Smith | Date: | Tue, 07 Jun 2005 12:26:59 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Auth Common.php /LiveUser_Admin/docs/examples/example 1 config.inc.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32402@lists.php.net to get a copy of this message | ||
lsmith Tue Jun 7 08:26:59 2005 EDT
Modified files:
/pear/LiveUser_Admin/docs/examples/example 1 config.inc.php
/pear/LiveUser_Admin/Auth Common.php
Log:
- tweaked config for auth storage
http://cvs.php.net/diff.php/pear/LiveUser_Admin/docs/examples/example/1?r1=&r2=&ty=u
http://cvs.php.net/diff.php/pear/LiveUser_Admin/docs/examples/example/config.inc.php?r1=1.13&r2=1.14&ty=u
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Auth/Common.php?r1=1.9&r2=1.10&ty=u
Index: pear/LiveUser_Admin/Auth/Common.php
diff -u pear/LiveUser_Admin/Auth/Common.php:1.9 pear/LiveUser_Admin/Auth/Common.php:1.10
--- pear/LiveUser_Admin/Auth/Common.php:1.9 Tue Jun 7 07:39:35 2005
+++ pear/LiveUser_Admin/Auth/Common.php Tue Jun 7 08:26:59 2005
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: Common.php,v 1.9 2005/06/07 11:39:35 lsmith Exp $
+ * @version CVS: $Id: Common.php,v 1.10 2005/06/07 12:26:59 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -183,7 +183,8 @@
}
}
- $this->_storage = LiveUser::storageFactory($conf['storage'],
'LiveUser_Admin_Auth_');
+ $storage_conf = array($conf['type'] => &$conf['storage']);
+ $this->_storage = LiveUser::storageFactory($storage_conf,
'LiveUser_Admin_Auth_');
if ($this->_storage === false) {
$this->_stack->push(LIVEUSER_ADMIN_ERROR, 'exception',
array('msg' => 'Could not instanciate storage container'));