implementing multiple modes for operation

implement operationModes:
- local: With local database
- synapse: use register-API of synapse
This commit is contained in:
Matthias
2018-04-16 15:17:12 +02:00
committed by Gitea
parent 31bacaeb36
commit 2c524ed066
13 changed files with 122 additions and 63 deletions

View File

@@ -24,6 +24,7 @@ if (!file_exists($lang_file)) {
error_log("Mail templates for '" . $lang . "' not found. Fallback to 'de-de'");
$lang = "de-de";
}
$lang_file = dirname(__FILE__) . "/lang/mail." . $lang . ".php";
require_once($lang_file);
unset($lang_file);
?>