*
dsn
datasource setting *
tblNamePrefix
prefix for table names in the database *
authCookieName
secret token cookie name *
storageDir
main directory for storing binary media files *
bufferDir
directory for temporary files *
transDir
directory for incomplete transferred files *
accessDir
directory for symlinks to accessed files *
storageUrlPath
path-URL-part of storageServer base dir *
storageXMLRPC
XMLRPC server script address relative to storageUrlPath *
storageUrlHost, storageUrlPort
host and port of storageServer *
archiveUrlPath
path-URL-part of archiveServer base dir *
archiveXMLRPC
XMLRPC server script address relative to archiveUrlPath *
archiveUrlHost, archiveUrlPort
host and port of archiveServer * */ $config = array( /* ================================================== basic configuration */ 'dsn' => array( 'username' => 'test', 'password' => 'test', 'hostspec' => 'localhost', 'phptype' => 'pgsql', 'database' => 'LiveSupport-test', ), 'tblNamePrefix' => 'ls_', 'authCookieName'=> 'lssid', #'storageDir' => dirname(getcwd()).'/stor', #'bufferDir' => dirname(getcwd()).'/stor/buffer', #'transDir' => dirname(getcwd()).'/trans', #'accessDir' => dirname(getcwd()).'/access', 'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor', 'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer', 'transDir' => dirname(__FILE__).'/../../storageServer/var/trans', 'accessDir' => dirname(__FILE__).'/../../storageServer/var/access', /* ==================================================== URL configuration */ 'storageUrlPath' => '/livesupportStorageServer', 'storageXMLRPC' => 'xmlrpc/xrLocStor.php', 'storageUrlHost' => 'localhost', 'storageUrlPort' => 80, /* ================================================ archive configuration */ 'archiveUrlPath' => '/livesupportArchiveServer', 'archiveXMLRPC' => 'xmlrpc/xrArchive.php', 'archiveUrlHost' => 'localhost', 'archiveUrlPort' => 80, 'archiveAccountLogin' => 'root', 'archiveAccountPass' => 'q', 'objtypes' => array( 'RootNode' => array('Folder'), 'Storage' => array('Folder', 'File', 'Replica'), 'Folder' => array('Folder', 'File', 'Replica'), 'File' => array(), 'audioclip' => array(), 'playlist' => array(), 'Replica' => array(), ), 'allowedActions'=> array( 'RootNode' => array('classes', 'subjects'), 'Folder' => array('editPrivs', 'write', 'read'), 'File' => array('editPrivs', 'write', 'read'), 'audioclip' => array('editPrivs', 'write', 'read'), 'playlist' => array('editPrivs', 'write', 'read'), 'Replica' => array('editPrivs', 'write', 'read'), '_class' => array('editPrivs', 'write', 'read'), ), 'allActions' => array( 'editPrivs', 'write', 'read', 'classes', 'subjects' ), /* ============================================== auxiliary configuration */ 'RootNode' => 'RootNode', 'tmpRootPass' => 'q', ); define('UI_HANDLER', 'ui_handler.php'); define('UI_BROWSER', 'ui_browser.php'); define('UI_FORM_STANDARD_METHOD', 'POST'); define('UI_INPUT_STANDARD_SIZE', 20); define('UI_INPUT_STANDARD_MAXLENGTH', 50); define('UI_TEXTAREA_STANDART_ROWS', 5); define('UI_TEXTAREA_STANDART_COLS', 17); define('UI_QFORM_REQUIRED', 'templates/sub/form_required.tpl'); define('UI_QFORM_REQUIREDNOTE', 'templates/sub/form_requirednote.tpl'); define('UI_QFORM_ERROR', 'templates/sub/form_error.tpl'); define('UI_SEARCH_MAX_ROWS', 8); define('UI_SEARCH_MIN_ROWS', 2); define('UI_REGEX_URL', '/^(ht|f)tps?:\/\/[^ ]+$/'); define('UI_SCRATCHPAD_KEY', 'djBagContents'); define('UI_SCRATCHPAD_MAXLENGTH_KEY', 'djBagMaxlength'); #define('UI_SCRATCHPAD_REGEX', '/^[0-9a-f]{16}:[0-9]{4}-[0-9]{2}-[0-9]{2}$/'); ## session keys define('UI_SCRATCHPAD_SESSNAME', 'SCRATCHPAD'); define('UI_STATIONINFO_SESSNAME', 'STATIONINFO'); define('UI_SEARCH_SESSNAME', 'SEARCH'); ?>