From f50ca75e878914fdd0039ad50139eab50004f590 Mon Sep 17 00:00:00 2001 From: ZhongYue Date: Tue, 28 Feb 2023 16:03:13 +0800 Subject: [PATCH] fix: assignment of object property "request" --- src/controllers/LogViewerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/LogViewerController.php b/src/controllers/LogViewerController.php index f8cf62a..828e796 100644 --- a/src/controllers/LogViewerController.php +++ b/src/controllers/LogViewerController.php @@ -37,7 +37,6 @@ class LogViewerController extends BaseController public function __construct() { $this->log_viewer = new LaravelLogViewer(); - $this->request = app('request'); } /** @@ -46,6 +45,7 @@ public function __construct() */ public function index() { + $this->request = app('request'); $folderFiles = []; if ($this->request->input('f')) { $this->log_viewer->setFolder(Crypt::decrypt($this->request->input('f')));