parent
7649e7f175
commit
99173fb638
|
|
@ -184,12 +184,12 @@ if (!class_exists('scripts')) {
|
||||||
//make the config.lua
|
//make the config.lua
|
||||||
$tmp = "\n";
|
$tmp = "\n";
|
||||||
$tmp .= "--set the variables\n";
|
$tmp .= "--set the variables\n";
|
||||||
|
if (strlen($_SESSION['switch']['conf']['dir']) > 0) {
|
||||||
|
$tmp .= $this->correct_path(" conf_dir = [[".$_SESSION['switch']['conf']['dir']."]];\n");
|
||||||
|
}
|
||||||
if (strlen($_SESSION['switch']['sounds']['dir']) > 0) {
|
if (strlen($_SESSION['switch']['sounds']['dir']) > 0) {
|
||||||
$tmp .= $this->correct_path(" sounds_dir = [[".$_SESSION['switch']['sounds']['dir']."]];\n");
|
$tmp .= $this->correct_path(" sounds_dir = [[".$_SESSION['switch']['sounds']['dir']."]];\n");
|
||||||
}
|
}
|
||||||
if (strlen($_SESSION['switch']['phrases']['dir']) > 0) {
|
|
||||||
$tmp .= $this->correct_path(" phrases_dir = [[".$_SESSION['switch']['phrases']['dir']."]];\n");
|
|
||||||
}
|
|
||||||
if (strlen($_SESSION['switch']['db']['dir']) > 0) {
|
if (strlen($_SESSION['switch']['db']['dir']) > 0) {
|
||||||
$tmp .= $this->correct_path(" database_dir = [[".$_SESSION['switch']['db']['dir']."]];\n");
|
$tmp .= $this->correct_path(" database_dir = [[".$_SESSION['switch']['db']['dir']."]];\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue