diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index 21094c5e1..2426b66c0 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -471,6 +471,8 @@ class ServerAPI{ return false; } require_once($file); + }else{ + $internal = true; } $this->$name = new $class($this->server); $this->apiList[] = $this->$name;