Source for file config.inc.php
Documentation is available at config.inc.php
require_once 'LiveUser.php';
// Plase configure the following file according to your environment
$dsn = " mysql://$db_user:$db_pass@$db_host/$db_name";
echo $db->getMessage () . ' ' . $db->getUserInfo ();
$db->setFetchMode (DB_FETCHMODE_ASSOC );
'remember' => 'rememberMe'
'redirect' => 'home.php',
'authContainers' => array (
'allowDuplicateHandles' => 0 ,
'authTable' => 'liveuser_users',
'authTableCols' => array (
'user_id' => 'auth_user_id',
'lastlogin' => 'lastlogin',
'is_active' => 'is_active'
'permContainer' => array (
PEAR ::setErrorHandling (PEAR_ERROR_RETURN );
$usr->setLoginFunction ('logIn');
$usr->setLogOutFunction ('logOut');
die ($e->getMessage () . ' ' . $e->getUserinfo ());
Documentation generated on Mon, 11 Mar 2019 10:16:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|