Changeset 371 in svn for trunk/admin/xcache.php


Ignore:
Timestamp:
2007-05-05T12:30:14+02:00 (8 years ago)
Author:
Xuefer
Message:

fixed #86, enhancement in admin page, remove/edit variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/xcache.php

    r250 r371  
    100100$pcnt = xcache_count(XC_TYPE_PHP);
    101101$vcnt = xcache_count(XC_TYPE_VAR);
     102
     103if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     104    $remove = @ $_POST['remove'];
     105    if ($remove && is_array($remove)) {
     106        foreach ($remove as $name) {
     107            xcache_unset($name);
     108        }
     109    }
     110}
    102111
    103112$moduleinfo = null;
Note: See TracChangeset for help on using the changeset viewer.