diff options
Diffstat (limited to 'ratatoeskr')
-rw-r--r-- | ratatoeskr/config.dist.php (renamed from ratatoeskr/config.php) | 0 | ||||
-rw-r--r-- | ratatoeskr/main.php | 6 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ratatoeskr/config.php b/ratatoeskr/config.dist.php index db2d6e5..db2d6e5 100644 --- a/ratatoeskr/config.php +++ b/ratatoeskr/config.dist.php 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!"); } |