sintonia/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php-source.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&amp;nbsp;-&amp;nbsp;htmlUI&amp;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&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;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 &lt;?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' =&gt; array(
00052 'username' =&gt; 'test',
00053 'password' =&gt; 'test',
00054 'hostspec' =&gt; 'localhost',
00055 'phptype' =&gt; 'pgsql',
00056 'database' =&gt; 'LiveSupport-test',
00057 ),
00058 'tblNamePrefix' =&gt; 'ls_',
00059 'authCookieName'=&gt; 'lssid',
00060 #'storageDir' =&gt; dirname(getcwd()).'/stor',
00061 #'bufferDir' =&gt; dirname(getcwd()).'/stor/buffer',
00062 #'transDir' =&gt; dirname(getcwd()).'/trans',
00063 #'accessDir' =&gt; dirname(getcwd()).'/access',
00064 'storageDir' =&gt; dirname(__FILE__).'/../../storageServer/var/stor',
00065 'bufferDir' =&gt; dirname(__FILE__).'/../../storageServer/var/stor/buffer',
00066 'transDir' =&gt; dirname(__FILE__).'/../../storageServer/var/trans',
00067 'accessDir' =&gt; dirname(__FILE__).'/../../storageServer/var/access',
00068
00069 <span class="comment">/* ==================================================== URL configuration */</span>
00070 'storageUrlPath' =&gt; '/livesupportStorageServer',
00071 'storageXMLRPC' =&gt; 'xmlrpc/xrLocStor.php',
00072 'storageUrlHost' =&gt; 'localhost',
00073 'storageUrlPort' =&gt; 80,
00074
00075 <span class="comment">/* ================================================ archive configuration */</span>
00076 'archiveUrlPath' =&gt; '/livesupportArchiveServer',
00077 'archiveXMLRPC' =&gt; 'xmlrpc/xrArchive.php',
00078 'archiveUrlHost' =&gt; 'localhost',
00079 'archiveUrlPort' =&gt; 80,
00080 'archiveAccountLogin' =&gt; 'root',
00081 'archiveAccountPass' =&gt; <span class="charliteral">'q'</span>,
00082
00083 <span class="comment">/* ==================================== aplication-specific configuration */</span>
00084 'objtypes' =&gt; array(
00085 'RootNode' =&gt; array('Folder'),
00086 'Storage' =&gt; array('Folder', 'File', 'Replica'),
00087 'Folder' =&gt; array('Folder', 'File', 'Replica'),
00088 'File' =&gt; array(),
00089 'Replica' =&gt; array(),
00090 ),
00091 'allowedActions'=&gt; array(
00092 'RootNode' =&gt; array('classes', 'subjects'),
00093 'Folder' =&gt; array('editPrivs', 'write', 'read'),
00094 'File' =&gt; array('editPrivs', 'write', 'read'),
00095 'Replica' =&gt; array('editPrivs', 'write', 'read'),
00096 '_class' =&gt; array('editPrivs', 'write', 'read'),
00097 ),
00098 'allActions' =&gt; array(
00099 'editPrivs', 'write', 'read', 'classes', 'subjects'
00100 ),
00101
00102 <span class="comment">/* ============================================== auxiliary configuration */</span>
00103 'RootNode' =&gt; 'RootNode',
00104 'tmpRootPass' =&gt; <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 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Jan 12 16:22:49 2005 for LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module by&nbsp;
<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>