Source for file config.inc.php
Documentation is available at config.inc.php
require_once 'LiveUser/Admin.php';
// Please configure the following file according to your environment
$GLOBALS['_LIVEUSER_DEBUG'] = true;
$db_name = 'liveuser_admin_test_example1';
$dsn = " mysql://$db_user:$db_pass@$db_host/$db_name";
'debug_handler' => 'echoQuery',
if (!isset ($_GET['storage'])) {
} elseif (isset ($backends[$_GET['storage']])) {
exit ('storage Backend not found.');
require_once $storage. '.php';
Var_Dump ::display ($scope. ': '. $message);
$db = $dummy->connect ($dsn, $backends[$storage]['options']);
if (PEAR ::isError ($db)) {
echo $db->getMessage () . ' ' . $db->getUserInfo ();
$db->setFetchMode (constant($storage. '_FETCHMODE_ASSOC'));
'authContainers' => array (
'allowDuplicateHandles' => false ,
'auth_user_id' => 'user_id',
'permContainer' => array (
$logconf = array ('mode' => 0666 , 'timeFormat' => '%X %x');
$logger = &Log ::factory ('file', 'liveuser_test.log', 'ident', $logconf);
$admin->addErrorLog ($logger);
$admin->setAdminContainers ();
Documentation generated on Mon, 11 Mar 2019 14:16:43 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|