From d89e976be2dafd9d6bb2cf1f6e0f2b2b0abf0172 Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Fri, 8 Aug 2025 10:21:56 +0900 Subject: [PATCH] dbms_init...1 --- app/Controllers/Admin/UserController.php | 2 +- app/Controllers/CommonController.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controllers/Admin/UserController.php b/app/Controllers/Admin/UserController.php index 9e0cf70..b8f3435 100644 --- a/app/Controllers/Admin/UserController.php +++ b/app/Controllers/Admin/UserController.php @@ -45,7 +45,7 @@ class UserController extends AdminController { switch ($this->getAction()) { case 'profile_modify': - $this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo()); + $this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo()); $result = $this->view($this->entity->getPK()); break; case 'profile_modify_form': diff --git a/app/Controllers/CommonController.php b/app/Controllers/CommonController.php index e221b0e..25fd6f1 100644 --- a/app/Controllers/CommonController.php +++ b/app/Controllers/CommonController.php @@ -261,7 +261,7 @@ abstract class CommonController extends BaseController protected function getResultFail(string $message = MESSAGES["FAILED"]): RedirectResponse { LogCollector::debug($message); - $this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo()); + $this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo()); if ($this->request->getMethod() === 'POST') { return redirect()->back()->withInput()->with('error', $message); } @@ -273,7 +273,7 @@ abstract class CommonController extends BaseController switch ($this->getAction()) { case 'create': case 'modify': - $this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo()); + $this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo()); $result = $this->view($this->entity->getPK()); break; case 'create_form':