summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/index.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/index.php b/api/index.php
index 6b0071141..d1e02bbd4 100644
--- a/api/index.php
+++ b/api/index.php
@@ -1,8 +1,6 @@
<?php
error_reporting(E_ERROR | E_PARSE);
- require_once "../config.php";
-
set_include_path(__DIR__ . PATH_SEPARATOR .
dirname(__DIR__) . PATH_SEPARATOR .
dirname(__DIR__) . "/include" . PATH_SEPARATOR .
@@ -14,7 +12,6 @@
define('NO_SESSION_AUTOSTART', true);
require_once "autoload.php";
- require_once "db-prefs.php";
require_once "functions.php";
require_once "sessions.php";