Browse Source

Code adjustments

Tobias Reich 10 years ago
parent
commit
fb4e1dc73c
1 changed files with 1 additions and 5 deletions
  1. 1 5
      php/api.php

+ 1 - 5
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);