summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 22:39:20 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 22:39:20 +0300
commit12bcf826e4f2672afbda85264a970fb4735d97f1 (patch)
treebeaaeb8942d423a183f9d1b39953dd76bf619a81 /api
parent211f699aa0c4211e4ee8a02446d51b9811d0c28c (diff)
don't include config.php everywhere
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/index.php b/api/index.php
index 6b0071141..333c64830 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 .