00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00049 $config = array(
00050
00051 'dsn' => array(
00052 'username' => 'test',
00053 'password' => 'test',
00054 'hostspec' => 'localhost',
00055 'phptype' => 'pgsql',
00056 'database' => 'LiveSupport-test',
00057 ),
00058 'tblNamePrefix' => 'ls_',
00059 'authCookieName'=> 'lssid',
00060 #'storageDir' => dirname(getcwd()).'/stor',
00061 #'bufferDir' => dirname(getcwd()).'/stor/buffer',
00062 #'transDir' => dirname(getcwd()).'/trans',
00063 #'accessDir' => dirname(getcwd()).'/access',
00064 'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
00065 'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
00066 'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
00067 'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
00068
00069
00070 'storageUrlPath' => '/livesupportStorageServer',
00071 'storageXMLRPC' => 'xmlrpc/xrLocStor.php',
00072 'storageUrlHost' => 'localhost',
00073 'storageUrlPort' => 80,
00074
00075
00076 'archiveUrlPath' => '/livesupportArchiveServer',
00077 'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
00078 'archiveUrlHost' => 'localhost',
00079 'archiveUrlPort' => 80,
00080 'archiveAccountLogin' => 'root',
00081 'archiveAccountPass' => 'q',
00082
00083
00084 'objtypes' => array(
00085 'RootNode' => array('Folder'),
00086 'Storage' => array('Folder', 'File', 'Replica'),
00087 'Folder' => array('Folder', 'File', 'Replica'),
00088 'File' => array(),
00089 'Replica' => array(),
00090 ),
00091 'allowedActions'=> array(
00092 'RootNode' => array('classes', 'subjects'),
00093 'Folder' => array('editPrivs', 'write', 'read'),
00094 'File' => array('editPrivs', 'write', 'read'),
00095 'Replica' => array('editPrivs', 'write', 'read'),
00096 '_class' => array('editPrivs', 'write', 'read'),
00097 ),
00098 'allActions' => array(
00099 'editPrivs', 'write', 'read', 'classes', 'subjects'
00100 ),
00101
00102
00103 'RootNode' => 'RootNode',
00104 'tmpRootPass' => 'q',
00105 );
00106
00107
00108
00109
00110 define('UI_HANDLER', 'ui_handler.php');
00111 define('UI_BROWSER', 'ui_browser.php');
00112 define('UI_FORM_STANDARD_METHOD', 'POST');
00113 define('UI_INPUT_STANDARD_SIZE', 20);
00114 define('UI_INPUT_STANDARD_MAXLENGTH', 50);
00115 define('UI_INPUT_GBOBJECT_MAXFILESIZE', 10000);
00116 define('UI_QFORM_REQUIRED', 'templates/form_parts/required.tpl');
00117 define('UI_QFORM_REQUIREDNOTE', 'templates/form_parts/requirednote.tpl');
00118 define('UI_QFORM_ERROR', 'templates/form_parts/required.tpl');
00119 ?>