Changeset 373 in svn for branches/1.2/admin/xcache.php


Ignore:
Timestamp:
2007-05-05T10:40:31Z (8 years ago)
Author:
Xuefer
Message:

merged [371] from trunk->1.2: remove/edit variable data in admin page

Location:
branches/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2

    • Property svnmerge-integrated changed
      /trunkmerged: 371
  • branches/1.2/admin/xcache.php

    r250 r373  
    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.