diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-21 22:00:33 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-21 22:00:33 +0100 |
commit | a36e46d44db24622eeed4438342dfdbd98a28727 (patch) | |
tree | 189748224c65613991f9975feafb60b7d543b29e /ratatoeskr/main.php | |
parent | eaabdafbcbad712a82878c8a08e0b8b097cae2be (diff) | |
download | ratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.tar.gz ratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.tar.bz2 ratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.zip |
Setup script and clean config file.
Diffstat (limited to 'ratatoeskr/main.php')
-rw-r--r-- | ratatoeskr/main.php | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |