From fb4e1dc73c1450c9bef4d4b6eec4a58ead58e313 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 29 Aug 2014 16:36:38 +0200 Subject: [PATCH] Code adjustments --- php/api.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/php/api.php b/php/api.php index 3895e84..704efc5 100755 --- a/php/api.php +++ b/php/api.php @@ -17,13 +17,9 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) { session_start(); date_default_timezone_set('UTC'); - # Define globals + # Load required files require(__DIR__ . '/define.php'); - - # Load autoload require(__DIR__ . '/autoload.php'); - - # Load modules require(__DIR__ . '/modules/misc.php'); if (file_exists(LYCHEE_CONFIG_FILE)) require(LYCHEE_CONFIG_FILE);