cvs: pear /LiveUser_Admin/docs/examples/example3 conf.php
| From: | Lukas Smith | Date: | Tue, 07 Jun 2005 14:44:46 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/docs/examples/example3 conf.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32411@lists.php.net to get a copy of this message | ||
lsmith Tue Jun 7 10:44:46 2005 EDT
Modified files:
/pear/LiveUser_Admin/docs/examples/example3 conf.php
Log:
- migraded to new config layout due to the admin auth container using the admin storage classes
http://cvs.php.net/diff.php/pear/LiveUser_Admin/docs/examples/example3/conf.php?r1=1.4&r2=1.5&ty=u
Index: pear/LiveUser_Admin/docs/examples/example3/conf.php
diff -u pear/LiveUser_Admin/docs/examples/example3/conf.php:1.4
pear/LiveUser_Admin/docs/examples/example3/conf.php:1.5
--- pear/LiveUser_Admin/docs/examples/example3/conf.php:1.4 Mon Mar 14 11:45:59 2005
+++ pear/LiveUser_Admin/docs/examples/example3/conf.php Tue Jun 7 10:44:45 2005
@@ -42,22 +42,27 @@
),
'authContainers' => array(
'DB' => array(
- 'type' => 'DB',
- 'dsn' => $dsn,
+ 'type' => 'DB',
'loginTimeout' => 0,
'expireTime' => 0,
'idleTime' => 0,
'allowDuplicateHandles' => 1,
'passwordEncryptionMode' => 'PLAIN',
- 'authTableCols' => array(
- 'required' => array(
- 'auth_user_id' => array('name' =>
'authUserId', 'type' => 'text'),
- 'handle' => array('name' => 'handle',
'type' => 'text'),
- 'passwd' => array('name' => 'passwd',
'type' => 'text'),
+ 'storage' => array(
+ 'dsn' => $dsn,
+ 'alias' => array(
+ 'lastlogin' => 'lastlogin',
+ 'is_active' => 'is_active',
+ ),
+ 'fields' => array(
+ 'lastlogin' => 'timestamp',
+ 'is_active' => 'boolean',
),
- 'optional' => array(
- 'lastlogin' => array('name' =>
'lastLogin', 'type' => 'timestamp'),
- 'is_active' => array('name' =>
'isActive', 'type' => 'boolean')
+ 'tables' => array(
+ 'users' => array(
+ 'lastlogin' => false,
+ 'is_active' => false,
+ ),
)
)
)