From: Andrew Dolgov Date: Sun, 9 Dec 2012 09:41:22 +0000 (+0400) Subject: modify include path order (closes #514) X-Git-Tag: 1.6.2~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=88e8fb3a7132d1321ab65b66a19a67df890c402d;p=tt-rss.git modify include path order (closes #514) --- diff --git a/api/index.php b/api/index.php index b74ea3c5..9b92dcad 100644 --- a/api/index.php +++ b/api/index.php @@ -3,10 +3,10 @@ require_once "../config.php"; - set_include_path(get_include_path() . PATH_SEPARATOR . - dirname(__FILE__) . PATH_SEPARATOR . + set_include_path(dirname(__FILE__) . PATH_SEPARATOR . dirname(dirname(__FILE__)) . PATH_SEPARATOR . - dirname(dirname(__FILE__)) . "/include" ); + dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR . + get_include_path()); chdir(".."); diff --git a/backend.php b/backend.php index bf87b55d..511bb355 100644 --- a/backend.php +++ b/backend.php @@ -1,6 +1,6 @@