Changeset 4cf9eef in git


Ignore:
Timestamp:
2012-08-23T02:20:26Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
6e865a7
Parents:
c51cf16
Message:

fix variable editing

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1144 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • htdocs/cacher/edit.php

    r626463f r4cf9eef  
    1313if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    1414    if (!empty($config['enable_eval'])) {
    15         eval('$value = ' . $_POST['value']);
     15        eval('$value = ' . $_POST['value'] . ';');
    1616    }
    1717    else {
     
    1919    }
    2020    xcache_set($name, $value);
    21     header("Location: xcache.php?type=" . XC_TYPE_VAR);
     21    header("Location: ./?do=listvar");
    2222    exit;
    2323}
Note: See TracChangeset for help on using the changeset viewer.