54 lines
2.0 KiB
PHP
54 lines
2.0 KiB
PHP
<?php
|
|
/*
|
|
Author: Riccardo Di Dato
|
|
Creation Date: 19/nov/2013
|
|
*/
|
|
|
|
|
|
|
|
// $dbconn = new DatabaseConnection();
|
|
// $dbconn->dbname = "cbs";
|
|
// $dbconn->dbtype = "mysql";
|
|
// $dbconn->location = "localhost";
|
|
// $dbconn->username = "root";
|
|
// $dbconn->password = "root";
|
|
|
|
// Password mongo produzione: p14n3ll1FDN2
|
|
$database = new stdClass();
|
|
$database->dbName = "fdn2";
|
|
$database->user = "fdn2";
|
|
$database->pass = "p14n3ll1FDN2";
|
|
$database->useAuth = true;
|
|
$database->connectionString = "mongodb://".$database->user.":".$database->pass."@localhost/".$database->dbName;
|
|
|
|
$currentSystem = new stdClass();
|
|
$currentSystem->storageBaseDir = "/home/asdynamics/storage"; // Il path con storage ecc in cui mettere immagini, file temporanei ecc
|
|
$currentSystem->privateBaseDir = "/home/asdynamics/private"; // Il path in cui inserire la cartella con lib, task, binari ecc
|
|
$currentSystem->tmpBaseDir = "/tmp/asdynamics";
|
|
$currentSystem->logBaseDir = "/var/log/asdynamics"; // Il path dei log....
|
|
$currentSystem->xSendFileDir = "/tmp/xsend";
|
|
|
|
// $currentSystem->safeStorage = "/home/cbs/storage";
|
|
|
|
$currentSystem->apache = new StdClass();
|
|
$currentSystem->apache->user = "var-www";
|
|
$currentSystem->apache->group = "var-www";
|
|
$currentSystem->apache->workdir = "/var/www"; // Il path in cui inserire la cartella con le pagine html
|
|
|
|
$currentSystem->remoteLocationPath = "http://www.ifattidinapoli.it/";
|
|
|
|
$backupSystem = new stdClass();
|
|
$backupSystem->account = "1582528f056a7ea7f391149fddc75553";
|
|
$backupSystem->passphrase = "232728b3e504a400a62a9f94893a9a962ecc6543ed7d3c293340414b259aac727f14d60a4f2cd52e228c9694a55774ff5652520b38d120a299394715247645b8293a880901162f268c8c8777a3ee9c6e410455cb4c8137f58f9d7162d45582ab363679ed456e56bf3b36d0384368b62eced40abd0fe117f04c9322f07ee33a7c";
|
|
|
|
$cbs2 = new stdClass();
|
|
$cbs2->keyfile = "id_rsa_cbs_prod";
|
|
$cbs2->serverPort = "50005";
|
|
|
|
// $config->locations = new stdClass();
|
|
|
|
// $config->application->applicationInterfacePath = "/tnc15";
|
|
|
|
// $config->application->systemTmp = "/tmp";
|
|
|
|
?>
|