Updated view
This commit is contained in:
parent
368f6b59d0
commit
7ac9ee69f2
12
view.php
12
view.php
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user