summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-28 17:59:35 +0100
committerSimon Rettberg2019-10-28 17:59:35 +0100
commit11ce0f6c8d8f1650db84dcdd8ad51a8d5349412b (patch)
treec0030bff7781ce006fec79542b2fc6ed3134791c
parent[SSPS] dirname != basedir (diff)
downloadsetup-scripts-11ce0f6c8d8f1650db84dcdd8ad51a8d5349412b.tar.gz
setup-scripts-11ce0f6c8d8f1650db84dcdd8ad51a8d5349412b.tar.xz
setup-scripts-11ce0f6c8d8f1650db84dcdd8ad51a8d5349412b.zip
[SSPS] Read config from config.php
-rw-r--r--satellit_installer/static_files/slxadmin-init/slxadmin-init.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/satellit_installer/static_files/slxadmin-init/slxadmin-init.php b/satellit_installer/static_files/slxadmin-init/slxadmin-init.php
index a21532f..eb9a848 100644
--- a/satellit_installer/static_files/slxadmin-init/slxadmin-init.php
+++ b/satellit_installer/static_files/slxadmin-init/slxadmin-init.php
@@ -18,12 +18,6 @@ $MINILINUX_PUBKEY = file_get_contents($SCRIPTDIR . '/gpg-key.asc') || exit(1);
* Boilerplate
*/
-define('CONFIG_DEBUG', true);
-define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost');
-define('CONFIG_SQL_USER', $argv[1]);
-define('CONFIG_SQL_PASS', $argv[2]);
-define('CONFIG_SQL_FORCE_UTF8', true);
-
chdir('/srv/openslx/www/slx-admin') || exit(1);
require_once 'config.php';