Skip to content

Commit

Permalink
Fixed view.php (#38 #214 #196)
Browse files Browse the repository at this point in the history
  • Loading branch information
electerious committed Aug 30, 2014
1 parent 4a0750e commit bef01d7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions view.php
Expand Up @@ -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);

Expand Down

0 comments on commit bef01d7

Please sign in to comment.