1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

dirname(__FILE__) -> __DIR__

This commit is contained in:
Andrew Dolgov
2021-02-22 17:38:46 +03:00
parent add6242e51
commit 42173386b3
13 changed files with 19 additions and 19 deletions

View File

@@ -3,9 +3,9 @@
require_once "../config.php";
set_include_path(dirname(__FILE__) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR .
set_include_path(__DIR__ . PATH_SEPARATOR .
dirname(__DIR__) . PATH_SEPARATOR .
dirname(__DIR__) . "/include" . PATH_SEPARATOR .
get_include_path());
chdir("..");