瀏覽代碼

enable logging

andre 1 年之前
父節點
當前提交
4d272a0542
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/App/Controllers/Instances/HttpController.php

+ 2 - 2
core/App/Controllers/Instances/HttpController.php

@@ -53,9 +53,9 @@ abstract class HttpController implements DefaultController
         logModuleCall(
         logModuleCall(
             'kerioEmail',
             'kerioEmail',
             __FUNCTION__,
             __FUNCTION__,
-            $params,
+            $this->router->isControllerCallable(),
             'Debug Controller',
             'Debug Controller',
-            $this->router
+            $this->router->isAdminContextValid()
         );
         );
 
 
         if (!$this->router->isControllerCallable() || !$this->isAdminContextValid())
         if (!$this->router->isControllerCallable() || !$this->isAdminContextValid())