Added configurations for OSX/Viscosity

This commit is contained in:
Ivo Schooneman
2017-07-06 10:45:00 +02:00
parent 4773a7cfea
commit 55b402acdc
4 changed files with 32 additions and 2 deletions
+3 -2
View File
@@ -23,8 +23,9 @@
// Thanks http://stackoverflow.com/questions/4914750/how-to-zip-a-whole-folder-using-php
if($_POST['configuration_os'] == "gnu_linux") {
$conf_dir = 'gnu-linux';
}
else {
} elseif($_POST['configuration_os'] == "osx_viscosity") {
$conf_dir = 'osx-viscosity';
} else {
$conf_dir = 'windows';
}
$rootPath = realpath("./client-conf/$conf_dir");