Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

conf.php

Go to the documentation of this file.
00001 <?php
00002 /*------------------------------------------------------------------------------
00003 
00004     Copyright (c) 2004 Media Development Loan Fund
00005 
00006     This file is part of the LiveSupport project.
00007     http://livesupport.campware.org/
00008     To report bugs, send an e-mail to bugs@campware.org
00009 
00010     LiveSupport is free software; you can redistribute it and/or modify
00011     it under the terms of the GNU General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or
00013     (at your option) any later version.
00014 
00015     LiveSupport is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU General Public License for more details.
00019 
00020     You should have received a copy of the GNU General Public License
00021     along with LiveSupport; if not, write to the Free Software
00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 
00024 
00025     Author   : $Author: sebastian $
00026     Version  : $Revision: 1.1 $
00027     Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/doc/doxygen/html/Attic/conf_8php-source.html,v $
00028 
00029 ------------------------------------------------------------------------------*/
00030 
00049 $config = array(
00050     /* ================================================== basic configuration */
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     /* ==================================================== URL configuration */
00070     'storageUrlPath'        => '/livesupportStorageServer',
00071     'storageXMLRPC'         => 'xmlrpc/xrLocStor.php',
00072     'storageUrlHost'        => 'localhost',
00073     'storageUrlPort'        => 80,
00074 
00075     /* ================================================ archive configuration */
00076     'archiveUrlPath'        => '/livesupportArchiveServer',
00077     'archiveXMLRPC'         => 'xmlrpc/xrArchive.php',
00078     'archiveUrlHost'        => 'localhost',
00079     'archiveUrlPort'        => 80,
00080     'archiveAccountLogin'   => 'root',
00081     'archiveAccountPass'    => 'q',
00082 
00083     /* ==================================== aplication-specific configuration */
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     /* ============================================== auxiliary configuration */
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 ?>

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  doxygen 1.4.0