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(".."); diff --git a/backend.php b/backend.php index bf87b55d3..511bb3552 100644 --- a/backend.php +++ b/backend.php @@ -1,6 +1,6 @@