50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
<?php
|
|
/**
|
|
* ArchiveServer 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>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>storageUrlPath<dd>path-URL-part of storageServer base dir
|
|
* (on central archive side: storage=archive)
|
|
* <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
|
|
* </dl>
|
|
*/
|
|
$CC_CONFIG = array(
|
|
/* ================================================== basic configuration */
|
|
'dsn' => array(
|
|
'username' => 'ls_dbuser',
|
|
'password' => 'ls_dbpassword',
|
|
'hostspec' => 'ls_dbserver',
|
|
'phptype' => 'pgsql',
|
|
'database' => 'ls_database',
|
|
),
|
|
|
|
/* ==================================================== URL configuration */
|
|
// on central archive side: archive is the storage !
|
|
'storageUrlPath' => 'ls_archiveUrlPath',
|
|
'storageXMLRPC' => 'xmlrpc/xrArchive.php',
|
|
'storageUrlHost' => 'ls_php_host',
|
|
'storageUrlPort' => ls_php_port,
|
|
// have to be another remote archive:
|
|
#'archiveUrlPath' => 'ls_archiveUrlPath',
|
|
#'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
|
|
#'archiveUrlHost' => 'ls_php_host',
|
|
#'archiveUrlPort' => ls_php_port,
|
|
|
|
);
|
|
?> |