parent
4a0750e34f
commit
bef01d775d
10
view.php
10
view.php
@ -24,10 +24,14 @@
|
||||
|
||||
if (isset($_GET['p'])&&$_GET['p']>0) {
|
||||
|
||||
require(__DIR__ . "/php/define.php");
|
||||
# Load required files
|
||||
require(__DIR__ . '/php/define.php');
|
||||
require(__DIR__ . '/php/autoload.php');
|
||||
require(__DIR__ . '/php/modules/misc.php');
|
||||
require(LYCHEE_CONFIG_FILE);
|
||||
require(LYCHEE . "php/autoload.php");
|
||||
require(LYCHEE . "php/modules/misc.php");
|
||||
|
||||
# Define the table prefix
|
||||
defineTablePrefix($dbTablePrefix);
|
||||
|
||||
$database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user