瀏覽代碼

fixed log file path

develop
Robin Thoni 8 年之前
父節點
當前提交
0e298d28ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Utils/Controller/LuticateApplication.php

+ 1
- 1
src/Utils/Controller/LuticateApplication.php 查看文件

@@ -39,7 +39,7 @@ class LuticateApplication implements MessageComponentInterface
39 39
         $this->_config = $configuration;
40 40
         $this->_clients = new \SplObjectStorage;
41 41
         $this->_router = new LuRoute();
42
-        LuLog::setLogFilePath($this->_config["logs"]);
42
+        LuLog::setLogFilePath(__DIR__ . "/../../../../../../". $this->_config["logs"]);
43 43
         self::$_app = $this;
44 44
     }
45 45
 

Loading…
取消
儲存