Skip to content

Commit

Permalink
Update LogViewerController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre authored Mar 13, 2017
1 parent 1a4d190 commit f95d4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/LogViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function index()
} elseif ($this->request->has('del')) {
app('files')->delete(LaravelLogViewer::pathToLogFile(base64_decode($this->request->input('del'))));
return $this->redirect($this->request->url());
} elseif ($this->request->has('delall')){
} elseif ($this->request->has('delall')) {
foreach(LaravelLogViewer::getFiles(true) as $file){
app('files')->delete(LaravelLogViewer::pathToLogFile($file));
}
Expand Down

0 comments on commit f95d4cf

Please sign in to comment.