<?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> */ $CC_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_storageUrlPath', 'archiveXMLRPC' => 'xmlrpc/xrLocStor.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, 'schedulerPass' => 'ls_scheduler_storage_pass', /* =================================================== cron configuration */ //'cronUserName' => 'www-data', 'cronUserName' => $developer_name, ); ?>