summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-11-18 19:48:44 +0100
committerSimon Rettberg2014-11-18 19:48:44 +0100
commit463d695c4f7ba87ba99f0ffc548ad6f994ff49d0 (patch)
tree49f7f26bf4368f0947a59d34e4f441ad8d20261c /index.php
parentCreate slxlog URL dynamically depending on current script's directory (diff)
downloadslx-admin-463d695c4f7ba87ba99f0ffc548ad6f994ff49d0.tar.gz
slx-admin-463d695c4f7ba87ba99f0ffc548ad6f994ff49d0.tar.xz
slx-admin-463d695c4f7ba87ba99f0ffc548ad6f994ff49d0.zip
Added proxy server settings
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.php b/index.php
index f9d9e9fc..969a3d47 100644
--- a/index.php
+++ b/index.php
@@ -2,6 +2,14 @@
require_once 'config.php';
+if (CONFIG_SQL_PASS === '%MYSQL_OPENSLX_PASS%') {
+ Header('Content-Type: text/plain; charset=utf-8');
+ die("The server has not been configured yet. Please log in to the server via console/SSH and follow the instructions."
+ . "\n\n"
+ . "Der Server wurde noch nicht konfiguriert. Bitte loggen Sie sich auf der Konsole oder per SSH auf dem Server ein"
+ . " und folgen Sie den Instruktionen.");
+}
+
require_once('inc/user.inc.php');
/**