cvs: pear /LiveUser/docs/examples/example2 conf.php
| From: | Lukas Smith | Date: | Mon, 07 Feb 2005 15:11:56 +0000 |
| Subject: | cvs: pear /LiveUser/docs/examples/example2 conf.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29173@lists.php.net to get a copy of this message | ||
lsmith Mon Feb 7 10:11:56 2005 EDT
Modified files:
/pear/LiveUser/docs/examples/example2 conf.php
Log:
- added missing config options for rememberme
- pass remember value to init() method
http://cvs.php.net/diff.php/pear/LiveUser/docs/examples/example2/conf.php?r1=1.4&r2=1.5&ty=u
Index: pear/LiveUser/docs/examples/example2/conf.php
diff -u pear/LiveUser/docs/examples/example2/conf.php:1.4
pear/LiveUser/docs/examples/example2/conf.php:1.5
--- pear/LiveUser/docs/examples/example2/conf.php:1.4 Sat Dec 18 16:53:17 2004
+++ pear/LiveUser/docs/examples/example2/conf.php Mon Feb 7 10:11:56 2005
@@ -30,7 +30,14 @@
if ($xml_is_readable != false && $xml_is_writable != false) {
$liveuserConfig = array(
- 'cookie' => array('name' => 'loginInfo',
'path' => '', 'domain' => '', 'lifetime'
=> 30),
+ 'cookie' => array(
+ 'name' => 'loginInfo',
+ 'path' => '',
+ 'domain' => '',
+ 'lifetime' => 30,
+ 'savedir' => '.',
+ 'secure' => false,
+ ),
'authContainers' => array(
0 => array(
'type' => 'XML',
@@ -68,7 +75,8 @@
$handle = isset($_REQUEST['handle']) ? $_REQUEST['handle'] : null;
$password = isset($_REQUEST['password']) ? $_REQUEST['password'] : null;
$logout = isset($_REQUEST['logout']) ? $_REQUEST['logout'] : null;
- $LU->init($handle, $password, $logout);
+ $remember = isset($_REQUEST['remember']) ? $_REQUEST['remember'] : null;
+ $LU->init($handle, $password, $logout, $remember);
}
?>
\ No newline at end of file