summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-23 08:34:37 +0300
committerAndrew Dolgov <[email protected]>2021-02-23 08:34:37 +0300
commit5229cc58b269bd04b2be7768107697063d95736e (patch)
tree6520dfaf81ec8eb818c4b66f3f348024466c6e00 /api
parent4ed91619ddefcaa2bf758361aaccf0844465228b (diff)
parentcae54dad564bc1372f0f6cc11101b6377caef9a9 (diff)
Merge branch 'wip-config-object'
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";