From b1f513026a224b2ab604f8ab216558864c473204 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 20 Aug 2019 15:55:03 +0200 Subject: [PATCH] use a common index.inc to include stuff, updated config.php.dist (now takes the root path as parameter) --- api.php | 8 ++------ config.dist => config.php.dist | 8 ++++---- index.inc | 7 +++++++ index.php | 8 ++------ sai.php | 8 ++------ setup.php | 6 +----- 6 files changed, 18 insertions(+), 27 deletions(-) rename config.dist => config.php.dist (88%) create mode 100644 index.inc diff --git a/api.php b/api.php index e8ce4b4..916f546 100644 --- a/api.php +++ b/api.php @@ -1,9 +1,5 @@ html(); \ No newline at end of file +echo (new \SYSTEM\SAI\sai_gui())->html(); \ No newline at end of file diff --git a/setup.php b/setup.php index 61087c1..fcbbef3 100644 --- a/setup.php +++ b/setup.php @@ -1,8 +1,4 @@