systemUrl = $currentSystem->remoteLocation . "/" . $project->buildName; // // Database Connection // $config->dbConnection = $dbconn; // // Generic voices // $config->locale = new stdClass(); // $config->locale->gui = $project->defaultLocale; // $config->locale->system = $project->defaultLocale; // // TODO inserire controllo per modificare la current locale // // PATHS // $config->paths = new StdClass(); // $config->paths->storage = $currentSystem->storageBaseDir . "/" . $project->buildName; // $config->paths->private = $currentSystem->privateBaseDir . "/" . $project->buildName; // $config->paths->public = $currentSystem->apache->workdir . "/" . $project->buildName; // $config->paths->log = $currentSystem->logBaseDir . "/" . $project->buildName; // $config->paths->backup = $currentSystem->safeStorage . "/" . $project->buildName; // $config->paths->binaries = $config->paths->private . "/bin"; // $config->paths->common = $config->paths->private . "/common"; // $config->paths->libraries = $config->paths->private . "/lib"; // $config->paths->task = $config->paths->private . "/task"; // $config->paths->pubImages = $config->paths->public . "/style/images"; // $config->paths->media = $config->paths->storage . "/media"; // $config->paths->defMedia = $config->paths->pubImages . "/defaults"; // $config->paths->tmp = $config->paths->storage . "/tmp"; // $config->paths->xsendfile = $currentSystem->xSendFileDir . "/" . $project->buildName; // $config->paths->pubkey = $config->paths->storage . "/pubkeys"; // $config->paths->sshDir = $currentSystem->os->homeDir . "/.ssh"; // // FILES // $config->files = new StdClass(); // $config->files->dao_log = $config->paths->log . "/dao.log"; // $config->files->saam_log = $config->paths->log . "/saam.log"; // $config->files->task_log = $config->paths->log . "/task.log"; // $config->files->general_log = $config->paths->log . "/general.log"; // $config->files->authKeys = $config->paths->sshDir . "/authorized_keys"; // // Pages // $config->pages = new StdClass(); // $config->pages->index = $config->systemUrl . "/index.php"; // $config->pages->login = $config->systemUrl . "/login.php"; // $config->pages->logout = $config->systemUrl . "/logout.php"; // require_once(dirname(__FILE__)."/lib/lib.instances.php"); ?>