public function cleanup() { if ($this->ckid) { $this->rrmdir($this->ckpath); } upldLog('chunks cleared: ' . $this->ckpath); }
function uni_exit() { global $h5u_debug, $upload_log; if ($h5u_debug) { upldLog('exit uniload'); log_write($upload_log, H5U_LOG); } exit; }