[*] исправлен метод мемкэша и добавлена крайняя ошибка
This commit is contained in:
1 parent
78deb5aecf
commit
4a11e29af5
1 file changed
+1
-1
@@ -93,7 +93,7 @@ class CCache
|
|||||||
*/
|
*/
|
||||||
public function __callStatic($method, $args)
|
public function __callStatic($method, $args)
|
||||||
{
|
{
|
||||||
self::$lastError = 'Unsupported method. Method: '.$method.', arguments: '.$args;
|
self::$lastError = 'Unsupported method. Method: '.$method.', arguments: '.implode(',', $args);
|
||||||
echo json_encode(['status' => 'fail', 'error' => 'Unsupported method', 'method' => $method, 'args' => $args], JSON_UNESCAPED_UNICODE);
|
echo json_encode(['status' => 'fail', 'error' => 'Unsupported method', 'method' => $method, 'args' => $args], JSON_UNESCAPED_UNICODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user