Ignore:
Timestamp:
2012-08-23T04:20:26+02:00 (20 months ago)
Author:
moo
Message:

fix variable editing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/cacher/edit.php

    r1142 r1144  
    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.