Changeset 902 for trunk/admin/edit.php


Ignore:
Timestamp:
2012-05-29T04:25:41+02:00 (2 years ago)
Author:
moo
Message:

improve config handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/edit.php

    r605 r902  
    1212 
    1313if ($_SERVER['REQUEST_METHOD'] == 'POST') { 
    14     if ($enable_eval) { 
     14    if (!empty($config['enable_eval'])) { 
    1515        eval('$value = ' . $_POST['value']); 
    1616    } 
     
    2323} 
    2424$value = xcache_get($name); 
    25 if ($enable_eval) { 
     25if (!empty($enable['enable_eval'])) { 
    2626    $value = var_export($value, true); 
    2727    $editable = true; 
Note: See TracChangeset for help on using the changeset viewer.