Updated view
This commit is contained in:
parent
368f6b59d0
commit
7ac9ee69f2
12
view.php
12
view.php
@ -22,14 +22,12 @@
|
||||
|
||||
<?php
|
||||
|
||||
if(isset($_GET['p'])) {
|
||||
if (isset($_GET['p'])&&$_GET['p']>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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user