summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 8ec19cc..59486eb 100644
--- a/index.php
+++ b/index.php
@@ -1,4 +1,8 @@
<?php
+ if (!file_exists("config.php")) {
+ die("Please copy config.php-dist to config.php and edit it.");
+ }
+
require_once "config.php";
$owner = SQLite3::escapeString($_SERVER["PHP_AUTH_USER"]);