diff options
Diffstat (limited to 'ratatoeskr/main.php')
-rw-r--r-- | ratatoeskr/main.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 7599231..491c739 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -9,8 +9,10 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ -require_once(dirname(__FILE__) . "/config.php"); -if (!CONFIG_FILLED_OUT) { +if (is_file(dirname(__FILE__) . "/config.php")) { + require_once(dirname(__FILE__) . "/config.php"); +} +if (!defined("CONFIG_FILLED_OUT") || !CONFIG_FILLED_OUT) { die("Config file not filled out!"); } |