Source for file conf.php
Documentation is available at conf.php
if (defined('DIRECTORY_SEPARATOR') && DIRECTORY_SEPARATOR == "\\") {
define('PATH_SEPARATOR', ';');
define('PATH_SEPARATOR', ':');
// set this to the path in which the directory for liveuser resides
// more remove the following two lines to test LiveUser in the standard
//$path_to_liveuser_dir = './pear/'.PATH_SEPARATOR;
//ini_set('include_path', $path_to_liveuser_dir.ini_get('include_path'));
// Data Source Name (DSN)
$dsn = '{dbtype}://{user}:{passwd}@{dbhost}/{dbname}';
'session' => array ('name' => 'PHPSESSID','varname' => 'loginInfo'),
'login' => array ('username' => 'handle', 'password' => 'passwd', 'remember' => 'rememberMe'),
'logout' => array ('trigger' => 'logout', 'destroy' => true , 'method' => 'get'),
'cookie' => array ('name' => 'loginInfo', 'path' => '/', 'domain' => '', 'lifetime' => 30 , 'secret' => 'mysecretkey'),
'authContainers' => array (0 => array (
'allowDuplicateHandles' => 1 ,
'passwordEncryptionMode' => 'PLAIN',
'authTableCols' => array (
'auth_user_id' => array ('name' => 'auth_user_id', 'type' => 'text'),
'handle' => array ('name' => 'handle', 'type' => 'text'),
'passwd' => array ('name' => 'passwd', 'type' => 'text'),
'lastlogin' => array ('name' => 'lastlogin', 'type' => 'timestamp'),
'is_active' => array ('name' => 'is_active', 'type' => 'boolean')
'permContainer' => array (
'type' => 'MDB2_Complex',
'groupTableCols' => array (
'group_id' => array ('type' => 'integer', 'name' => 'group_id'),
'group_define_name' => array ('type' => 'text', 'name' => 'group_define_name')
'group_type' => array ('type' => 'integer', 'name' => 'group_type'),
'is_active' => array ('type' => 'boolean', 'name' => 'is_active'),
'owner_user_id' => array ('type' => 'integer', 'name' => 'owner_user_id'),
'owner_group_id' => array ('type' => 'integer', 'name' => 'owner_group_id')
// Get LiveUser class definition
require_once 'LiveUser.php';
Documentation generated on Mon, 11 Mar 2019 13:56:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|