Commit 1ac9e626 authored by Alex Ne's avatar Alex Ne

Самая дурная ошибка. Указатель на корень пространства имен.

parent d6591570
......@@ -15,7 +15,7 @@ class VK {
*/
public function api($method, $params = []) {
$Client = new X\Network\Http\Client($this->api_url . "/" . $method);
$Client = new \X\Network\Http\Client($this->api_url . "/" . $method);
$Client->set_model_data(["post" => $params]);
if ($data = $Client->exec()->json_decode()) {
return $data;
......
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