diff options
author | Simon Rettberg | 2015-01-20 18:07:24 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-01-20 18:07:24 +0100 |
commit | 1ff2bc4f3c694b7c76df8e57056c51ca39a23a34 (patch) | |
tree | 0eb19164af66b3d4e8bf639a710f323b631d23ee /api.php | |
parent | Rework config module class structure. Still some TODOs though.... (diff) | |
download | slx-admin-1ff2bc4f3c694b7c76df8e57056c51ca39a23a34.tar.gz slx-admin-1ff2bc4f3c694b7c76df8e57056c51ca39a23a34.tar.xz slx-admin-1ff2bc4f3c694b7c76df8e57056c51ca39a23a34.zip |
config module structure completed. Many other fixes. Hidden pw field support.
Diffstat (limited to 'api.php')
-rw-r--r-- | api.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,9 @@ chdir(dirname($_SERVER['SCRIPT_FILENAME'])); require_once 'config.php'; +define('API', true); +define('AJAX', false); + if (CONFIG_SQL_PASS === '%MYSQL_OPENSLX_PASS%') exit(0); // Ignore API calls if not configured yet |