summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 231b4d6..6c17d47 100644
--- a/index.php
+++ b/index.php
@@ -52,7 +52,9 @@ require_once('View.class.php');
require_once('Controller.class.php');
// Check if we have a database configuration ///////////////////////////////////
+$conf_file = BASEPATH.'/conf.php';
if (file_exists($conf_file)) {
+ require_once('Database.class.php');
new Database($conf_file);
session_start();
} else {