93 lines
3.8 KiB
Plaintext
93 lines
3.8 KiB
Plaintext
<?php
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Copyright (c) 2004 Media Development Loan Fund
|
|
|
|
This file is part of the LiveSupport project.
|
|
http://livesupport.campware.org/
|
|
To report bugs, send an e-mail to bugs@campware.org
|
|
|
|
LiveSupport is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
LiveSupport is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with LiveSupport; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
Author : $Author: maroy $
|
|
Version : $Revision: 1.1 $
|
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf_only.php.template,v $
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
/**
|
|
* \file conf.php
|
|
* storageServer configuration file
|
|
*/
|
|
|
|
/**
|
|
* configuration structure:
|
|
*
|
|
* <dl>
|
|
* <dt>dsn<dd> datasource setting
|
|
* <dt>tblNamePrefix <dd>prefix for table names in the database
|
|
* <dt>authCookieName <dd>secret token cookie name
|
|
* <dt>StationPrefsGr <dd>name of station preferences group
|
|
* <dt>AllGr <dd>name of 'all users' group
|
|
* <dt>storageDir <dd>main directory for storing binary media files
|
|
* <dt>bufferDir <dd>directory for temporary files
|
|
* <dt>transDir <dd>directory for incomplete transferred files
|
|
* <dt>accessDir <dd>directory for symlinks to accessed files
|
|
* <dt>isArchive <dd>local/central flag
|
|
* <dt>validate <dd>enable/disable validator
|
|
* <dt>storageUrlPath<dd>path-URL-part of storageServer base dir
|
|
* <dt>storageXMLRPC<dd>XMLRPC server script address relative to storageUrlPath
|
|
* <dt>storageUrlHost, storageUrlPort<dd>host and port of storageServer
|
|
* <dt>archiveUrlPath<dd>path-URL-part of archiveServer base dir
|
|
* <dt>archiveXMLRPC<dd>XMLRPC server script address relative to archiveUrlPath
|
|
* <dt>archiveUrlHost, archiveUrlPort<dd>host and port of archiveServer
|
|
* <dt>archiveAccountLogin, archiveAccountPass <dd>account info
|
|
* for login to archive
|
|
* </dl>
|
|
*/
|
|
$config = array(
|
|
/* ================================================== basic configuration */
|
|
'dsn' => array(
|
|
'username' => 'ls_dbuser',
|
|
'password' => 'ls_dbpassword',
|
|
'hostspec' => 'ls_dbserver',
|
|
'phptype' => 'pgsql',
|
|
'database' => 'ls_database',
|
|
),
|
|
|
|
/* ==================================================== URL configuration */
|
|
'storageUrlPath' => 'ls_storageUrlPath',
|
|
'storageXMLRPC' => 'xmlrpc/xrLocStor.php',
|
|
'storageUrlHost' => 'ls_php_host',
|
|
'storageUrlPort' => ls_php_port,
|
|
|
|
/* ================================================ archive configuration */
|
|
'archiveUrlPath' => 'ls_archiveUrlPath',
|
|
'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
|
|
'archiveUrlHost' => 'ls_php_host',
|
|
'archiveUrlPort' => ls_php_port,
|
|
'archiveAccountLogin' => 'root',
|
|
'archiveAccountPass' => 'q',
|
|
|
|
/* ============================================== scheduler configuration */
|
|
'schedulerUrlPath' => 'ls_scheduler_urlPrefix',
|
|
'schedulerXMLRPC' => 'ls_scheduler_xmlRpcPrefix',
|
|
'schedulerUrlHost' => 'ls_scheduler_host',
|
|
'schedulerUrlPort' => ls_scheduler_port,
|
|
|
|
);
|
|
?>
|