Updated view

This commit is contained in:
Tobias Reich 2014-04-19 20:49:34 +02:00
parent 368f6b59d0
commit 7ac9ee69f2

View File

@ -22,14 +22,12 @@
<?php <?php
if(isset($_GET['p'])) { if (isset($_GET['p'])&&$_GET['p']>0) {
define("LYCHEE", true); require(__DIR__ . "/php/define.php");
require(LYCHEE_CONFIG_FILE);
require("data/config.php"); require(LYCHEE . "php/autoload.php");
require("php/modules/Module.php"); require(LYCHEE . "php/modules/misc.php");
require("php/modules/Database.php");
require("php/modules/misc.php");
$database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName); $database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);