show var export'ed value for non-editable content
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@592 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
7e32e6c2b0
commit
39e6d5eac5
|
@ -27,7 +27,13 @@ if ($enable_eval) {
|
|||
$editable = true;
|
||||
}
|
||||
else {
|
||||
$editable = is_string($value);
|
||||
if (is_string($value)) {
|
||||
$editable = true;
|
||||
}
|
||||
else {
|
||||
$editable = false;
|
||||
$value = var_export($value, true);
|
||||
}
|
||||
}
|
||||
|
||||
$xcache_version = XCACHE_VERSION;
|
||||
|
|
Loading…
Reference in New Issue