From a36e46d44db24622eeed4438342dfdbd98a28727 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 21 Jan 2012 22:00:33 +0100 Subject: Setup script and clean config file. --- ratatoeskr/main.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ratatoeskr/main.php') diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 1e5445a..9e4f08a 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -9,6 +9,10 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ +require_once(dirname(__FILE__) . "/config.php"); +if(!CONFIG_FILLED_OUT) + die("Config file not filled out!"); + require_once(dirname(__FILE__) . "/sys/db.php"); require_once(dirname(__FILE__) . "/sys/models.php"); require_once(dirname(__FILE__) . "/sys/init_ste.php"); -- cgit v1.2.3-70-g09d2