Browse Source

fix variable editing

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1142 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
626463feff
  1. 2
      htdocs/cacher/edit.php

2
htdocs/cacher/edit.php

@ -22,7 +22,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
exit;
}
$value = xcache_get($name);
if (!empty($enable['enable_eval'])) {
if (!empty($config['enable_eval'])) {
$value = var_export($value, true);
$editable = true;
}

Loading…
Cancel
Save