summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 17:38:46 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 17:38:46 +0300
commit42173386b39bed4b06c5ac6c2fc0da510673b354 (patch)
tree02a71889f4cb0b5874f6307e26352bd7e6772a80 /index.php
parentadd6242e5148d29be506d753ca4123b900427b7f (diff)
dirname(__FILE__) -> __DIR__
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4494082dd..eec54c55b 100644
--- a/index.php
+++ b/index.php
@@ -12,7 +12,7 @@
exit;
}
- set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
+ set_include_path(__DIR__ ."/include" . PATH_SEPARATOR .
get_include_path());
require_once "autoload.php";