Beispiel #1
0
 public function deleteLog($r)
 {
     if (Dase_Log::truncate(LOG_FILE)) {
         $r->renderResponse('log has been truncated');
     } else {
         $r->renderError(500);
     }
 }