Commit 4a0500fb authored by Andrew Dolgov's avatar Andrew Dolgov

fix API includes

parent a469bc7e
......@@ -3,9 +3,14 @@
require_once "../config.php";
require_once "../db.php";
require_once "../db-prefs.php";
require_once "../functions.php";
set_include_path(get_include_path() . PATH_SEPARATOR .
dirname(__FILE__) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . "/include" );
require_once "db.php";
require_once "db-prefs.php";
require_once "functions.php";
define('API_LEVEL', 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment