From 7ac9ee69f2b22ce614c4ef20ca64fe1cb2dbf1d6 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 19 Apr 2014 20:49:34 +0200 Subject: [PATCH] Updated view --- view.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/view.php b/view.php index 7d962f4..c610dd7 100644 --- a/view.php +++ b/view.php @@ -22,14 +22,12 @@ 0) { - define("LYCHEE", true); - - require("data/config.php"); - require("php/modules/Module.php"); - require("php/modules/Database.php"); - require("php/modules/misc.php"); + require(__DIR__ . "/php/define.php"); + require(LYCHEE_CONFIG_FILE); + require(LYCHEE . "php/autoload.php"); + require(LYCHEE . "php/modules/misc.php"); $database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);