Exemplo n.º 1
0
 function delete()
 {
     if (!$this->isRunning()) {
         return unlink($this->config['johnSession']['hashfile']) && parent::delete();
     }
     return FALSE;
 }
Exemplo n.º 2
0
<?php

include 'bgProcess.class.php';
$sessID = $argv[1];
$proc = new bgProcess($sessID);
$proc->run();
?>