ryzomclassic-develop
kaetemi 4 years ago
parent a188c6b38a
commit e08079fe5f
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -64,12 +64,12 @@ if (!isset($NEL_SETUP_VERSION_CONFIGURED)) {
$config = str_replace("%cryptKey%", addslashes($cfg['crypt']['key']), $config);
$config = str_replace("%cryptKeyIMAP%", addslashes($SUPPORT_GROUP_IMAP_CRYPTKEY), $config);
if ($NEL_SETUP_VERSION_CONFIGURED < 2) {
$config = str_replace("%domainDatabase%", addslashes($NEL_DOMAIN_NAME + "_ring"), $config);
$config = str_replace("%domainDatabase%", addslashes($NEL_DOMAIN_NAME . "_ring"), $config);
} else {
$config = str_replace("%domainDatabase%", addslashes($cfg['db']['ring']['name']), $config);
}
if ($NEL_SETUP_VERSION_CONFIGURED < 9) {
$config = str_replace("%domainUsersDir%", addslashes("/home/nevrax/" + $NEL_DOMAIN_NAME + "/www"), $config);
$config = str_replace("%domainUsersDir%", addslashes("/home/nevrax/" . $NEL_DOMAIN_NAME . "/www"), $config);
} else {
$config = str_replace("%domainUsersDir%", addslashes($USERS_DIR), $config);
}

@ -2,6 +2,6 @@
require_once dirname(__DIR__).'/config.php';
$TEMPLATE_DIR = $PRIVATE_PHP_PATH + '/webig/template'; // without final /
$TEMPLATE_DIR = $PRIVATE_PHP_PATH . '/webig/template'; // without final /
?>

Loading…
Cancel
Save