浏览代码

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
 

正在加载...
取消
保存