var_export is nicer than print_r

This commit is contained in:
Shish 2023-02-08 00:54:13 +00:00
parent afc07dbba3
commit 7d47b452df

View file

@ -117,7 +117,7 @@ class AdminPage extends Extension
$key = $event->args[1];
switch ($cmd) {
case "get":
print_r($cache->get($key));
var_export($cache->get($key));
break;
case "set":
$cache->set($key, $event->args[2], 60);