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];
|
||||
switch ($cmd) {
|
||||
case "get":
|
||||
print_r($cache->get($key));
|
||||
var_export($cache->get($key));
|
||||
break;
|
||||
case "set":
|
||||
$cache->set($key, $event->args[2], 60);
|
||||
|
|
Reference in a new issue