diff --git a/client-api/api.php b/client-api/api.php index 959df0d6..86c12530 100644 --- a/client-api/api.php +++ b/client-api/api.php @@ -44,6 +44,7 @@ global $CLIENT; $CLIENT = true; + chdir(dirname($name)); include $name; return; }