diff options
author | Andrew Dolgov <[email protected]> | 2012-12-09 13:41:22 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-09 13:41:22 +0400 |
commit | 88e8fb3a7132d1321ab65b66a19a67df890c402d (patch) | |
tree | b597639dfe7797a34efe0e348ef6e37a8a11b467 /api | |
parent | 51cc387347668e98b1b8e6c6053581a2affc5fa6 (diff) |
modify include path order (closes #514)
Diffstat (limited to 'api')
-rw-r--r-- | api/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/index.php b/api/index.php index b74ea3c56..9b92dcadd 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(".."); |