1
0
Fork 0

show var export'ed value for non-editable content

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@592 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 14 years ago
parent 7e32e6c2b0
commit 39e6d5eac5
  1. 8
      admin/edit.php

@ -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…
Cancel
Save