From 177791970ee86a6653b051ee393801ad37134d70 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 26 Nov 2014 21:01:37 +0100 Subject: Lots of small bugfixes, proxy config WIP, https config WIP, translation updates, added masterpassword to pxe menu, ... --- api.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api.php') diff --git a/api.php b/api.php index faf6bed0..b7745c22 100644 --- a/api.php +++ b/api.php @@ -5,6 +5,9 @@ chdir(dirname($_SERVER['SCRIPT_FILENAME'])); require_once 'config.php'; +if (CONFIG_SQL_PASS === '%MYSQL_OPENSLX_PASS%') + exit(0); // Ignore API calls if not configured yet + // Autoload classes from ./inc which adhere to naming scheme .inc.php function slxAutoloader($class) { -- cgit v1.2.3-55-g7522