Changeset 1146 in svn for trunk/htdocs/cacher/edit.php


Ignore:
Timestamp:
2012-08-23T10:27:54+02:00 (3 years ago)
Author:
Xuefer
Message:

closes #287: namespace support

File:
1 edited

Legend:

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

    r1144 r1146  
    77}
    88
    9 $name = $_GET['name'];
    109// trigger auth
    1110$vcnt = xcache_count(XC_TYPE_VAR);
     11xcache_admin_namespace();
     12
     13$name = $_GET['name'];
     14if (!empty($config['enable_eval'])) {
     15    eval('$name = ' . $name . ';');
     16}
    1217
    1318if ($_SERVER['REQUEST_METHOD'] == 'POST') {
Note: See TracChangeset for help on using the changeset viewer.