var_export is nicer than print_r
This commit is contained in:
parent
afc07dbba3
commit
7d47b452df
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class AdminPage extends Extension
|
||||||
$key = $event->args[1];
|
$key = $event->args[1];
|
||||||
switch ($cmd) {
|
switch ($cmd) {
|
||||||
case "get":
|
case "get":
|
||||||
print_r($cache->get($key));
|
var_export($cache->get($key));
|
||||||
break;
|
break;
|
||||||
case "set":
|
case "set":
|
||||||
$cache->set($key, $event->args[2], 60);
|
$cache->set($key, $event->args[2], 60);
|
||||||
|
|
Reference in a new issue