Source for file conf.php
Documentation is available at conf.php
if (defined('DIRECTORY_SEPARATOR') && DIRECTORY_SEPARATOR == '\\') {
define('PATH_SEPARATOR', ';');
define('PATH_SEPARATOR', ':');
// The error handling stuff is not needed and used only for debugging
// while LiveUser is not yet mature
PEAR ::setErrorHandling (PEAR_ERROR_CALLBACK , 'eHandler');
echo ('<hr /><span style="color: red">' . $errObj->getMessage () . ':<br />'. $errObj->getUserInfo () . '</span><hr />');
// 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') );
if ($xml_is_readable != false && $xml_is_writable != false ) {
'authContainers' => array (
'passwordEncryptionMode' => 'MD5',
'file' => 'Auth_XML.xml',
'auth_user_id' => 'userId',
'lastlogin' => 'lastLogin',
'is_active' => 'isActive',
'owner_user_id' => false ,
'owner_group_id' => false ,
'lastlogin' => 'timestamp',
'is_active' => 'boolean',
'owner_user_id' => 'integer',
'owner_group_id' => 'integer',
'permContainer' => array (
'storage' => array ('XML' => array ('file' => 'Perm_XML.xml')),
// Get LiveUser class definition
require_once 'LiveUser.php';
define('WATCHLATENIGHTTV', 4 );
define('CONNECTINGTHEINTERNET', 6 );
// Create new LiveUser (LiveUser) object.
$password = array_key_exists('password', $_REQUEST) ? $_REQUEST['password'] : null;
$remember = array_key_exists('remember', $_REQUEST) ? $_REQUEST['remember'] : null;
} elseif (!$LU->isLoggedIn () || ($handle && $LU->getProperty ('handle') != $handle)) {
$LU->login (null , null , true );
$LU->login ($handle, $password, $remember);
var_dump($LU->statusMessage ($LU->getStatus ()));
Documentation generated on Mon, 11 Mar 2019 15:40:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|