Browse Source

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 13 years ago
parent
commit
39e6d5eac5
  1. 8
      admin/edit.php

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