Code adjustments

This commit is contained in:
Tobias Reich 2014-08-29 16:36:38 +02:00
parent 29c5356f4f
commit fb4e1dc73c

View File

@ -17,13 +17,9 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
session_start(); session_start();
date_default_timezone_set('UTC'); date_default_timezone_set('UTC');
# Define globals # Load required files
require(__DIR__ . '/define.php'); require(__DIR__ . '/define.php');
# Load autoload
require(__DIR__ . '/autoload.php'); require(__DIR__ . '/autoload.php');
# Load modules
require(__DIR__ . '/modules/misc.php'); require(__DIR__ . '/modules/misc.php');
if (file_exists(LYCHEE_CONFIG_FILE)) require(LYCHEE_CONFIG_FILE); if (file_exists(LYCHEE_CONFIG_FILE)) require(LYCHEE_CONFIG_FILE);