fix to use phrases_dir

changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
This commit is contained in:
Matthew Vale
2015-11-03 11:16:05 +00:00
parent fd397f53c1
commit b9e8b3ef03
2 changed files with 4 additions and 10 deletions

View File

@@ -131,6 +131,9 @@ if ($domains_processed == 1) {
if (strlen($_SESSION['switch']['sounds']['dir']) > 0) {
$tmp .= correct_path(" sounds_dir = [[".$_SESSION['switch']['sounds']['dir']."]];\n");
}
if (strlen($_SESSION['switch']['phrases']['dir']) > 0) {
$tmp .= correct_path(" phrases_dir = [[".$_SESSION['switch']['phrases']['dir']."]];\n");
}
if (strlen($_SESSION['switch']['db']['dir']) > 0) {
$tmp .= correct_path(" database_dir = [[".$_SESSION['switch']['db']['dir']."]];\n");
}