Code adjustments
This commit is contained in:
parent
29c5356f4f
commit
fb4e1dc73c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user