Esempio n. 1
0
 function delete($key)
 {
     $p = $this->_getSavePath($key);
     if (file_exists($p['p'])) {
         return IO::rm($p['p']);
     }
     return true;
 }
Esempio n. 2
0
function del_pick_log($pid)
{
    $log_dir = PICK_PATH . '/data/log/' . $pid;
    require_once PICK_DIR . '/lib/cache.class.php';
    IO::rm($log_dir);
}