116 lines
7.9 KiB
HTML
116 lines
7.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: conf.php Source File</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.0 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">var</a></div>
|
|
<h1>conf.php</h1><a href="conf_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <?php
|
|
00002 <span class="comment">/*------------------------------------------------------------------------------</span>
|
|
00003 <span class="comment"></span>
|
|
00004 <span class="comment"> Copyright (c) 2004 Media Development Loan Fund</span>
|
|
00005 <span class="comment"></span>
|
|
00006 <span class="comment"> This file is part of the LiveSupport project.</span>
|
|
00007 <span class="comment"> http://livesupport.campware.org/</span>
|
|
00008 <span class="comment"> To report bugs, send an e-mail to bugs@campware.org</span>
|
|
00009 <span class="comment"></span>
|
|
00010 <span class="comment"> LiveSupport is free software; you can redistribute it and/or modify</span>
|
|
00011 <span class="comment"> it under the terms of the GNU General Public License as published by</span>
|
|
00012 <span class="comment"> the Free Software Foundation; either version 2 of the License, or</span>
|
|
00013 <span class="comment"> (at your option) any later version.</span>
|
|
00014 <span class="comment"></span>
|
|
00015 <span class="comment"> LiveSupport is distributed in the hope that it will be useful,</span>
|
|
00016 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
|
|
00017 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
|
|
00018 <span class="comment"> GNU General Public License for more details.</span>
|
|
00019 <span class="comment"></span>
|
|
00020 <span class="comment"> You should have received a copy of the GNU General Public License</span>
|
|
00021 <span class="comment"> along with LiveSupport; if not, write to the Free Software</span>
|
|
00022 <span class="comment"> Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
|
|
00023 <span class="comment"></span>
|
|
00024 <span class="comment"></span>
|
|
00025 <span class="comment"> Author : $Author: sebastian $</span>
|
|
00026 <span class="comment"> Version : $Revision: 1.1 $</span>
|
|
00027 <span class="comment"> Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/doc/doxygen/html/Attic/conf_8php-source.html,v $</span>
|
|
00028 <span class="comment"></span>
|
|
00029 <span class="comment">------------------------------------------------------------------------------*/</span>
|
|
00030
|
|
<a name="l00049"></a><a class="code" href="conf_8php.html#a0">00049</a> <a class="code" href="conf_8php.html#a0">$config</a> = array(
|
|
00050 <span class="comment">/* ================================================== basic configuration */</span>
|
|
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 <span class="comment">/* ==================================================== URL configuration */</span>
|
|
00070 'storageUrlPath' => '/livesupportStorageServer',
|
|
00071 'storageXMLRPC' => 'xmlrpc/xrLocStor.php',
|
|
00072 'storageUrlHost' => 'localhost',
|
|
00073 'storageUrlPort' => 80,
|
|
00074
|
|
00075 <span class="comment">/* ================================================ archive configuration */</span>
|
|
00076 'archiveUrlPath' => '/livesupportArchiveServer',
|
|
00077 'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
|
|
00078 'archiveUrlHost' => 'localhost',
|
|
00079 'archiveUrlPort' => 80,
|
|
00080 'archiveAccountLogin' => 'root',
|
|
00081 'archiveAccountPass' => <span class="charliteral">'q'</span>,
|
|
00082
|
|
00083 <span class="comment">/* ==================================== aplication-specific configuration */</span>
|
|
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 <span class="comment">/* ============================================== auxiliary configuration */</span>
|
|
00103 'RootNode' => 'RootNode',
|
|
00104 'tmpRootPass' => <span class="charliteral">'q'</span>,
|
|
00105 );
|
|
00106
|
|
00107
|
|
00108
|
|
00109
|
|
<a name="l00110"></a><a class="code" href="conf_8php.html#a1">00110</a> define('UI_HANDLER', 'ui_handler.php');
|
|
<a name="l00111"></a><a class="code" href="conf_8php.html#a2">00111</a> define('UI_BROWSER', 'ui_browser.php');
|
|
<a name="l00112"></a><a class="code" href="conf_8php.html#a3">00112</a> define('UI_FORM_STANDARD_METHOD', 'POST');
|
|
<a name="l00113"></a><a class="code" href="conf_8php.html#a4">00113</a> define('UI_INPUT_STANDARD_SIZE', 20);
|
|
<a name="l00114"></a><a class="code" href="conf_8php.html#a5">00114</a> define('UI_INPUT_STANDARD_MAXLENGTH', 50);
|
|
<a name="l00115"></a><a class="code" href="conf_8php.html#a6">00115</a> define('UI_INPUT_GBOBJECT_MAXFILESIZE', 10000);
|
|
<a name="l00116"></a><a class="code" href="conf_8php.html#a7">00116</a> define('UI_QFORM_REQUIRED', 'templates/form_parts/required.tpl');
|
|
<a name="l00117"></a><a class="code" href="conf_8php.html#a8">00117</a> define('UI_QFORM_REQUIREDNOTE', 'templates/form_parts/requirednote.tpl');
|
|
<a name="l00118"></a><a class="code" href="conf_8php.html#a9">00118</a> define('UI_QFORM_ERROR', 'templates/form_parts/required.tpl');
|
|
00119 ?>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.0 </small></address>
|
|
</body>
|
|
</html>
|