Changeset d2e943a in git for htdocs/cacher/edit.php


Ignore:
Timestamp:
2012-08-23T08:27:54Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
85fe1a8
Parents:
6e865a7
Message:

closes #287: namespace support

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • htdocs/cacher/edit.php

    r4cf9eef rd2e943a  
    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.