top-think / think-multi-app

thinkphp6 multi app support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于runtime路径设置的问题

hbh112233abc opened this issue · comments

MultiApp.php 202行 runtime为什么不用初始设置值呢?

$this->app->setRuntimePath($this->app->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . $appName . DIRECTORY_SEPARATOR);

建议202行改为如下以适应自定义runtime路径的情况

$this->app->setRuntimePath($this->app->getRuntimePath() . DIRECTORY_SEPARATOR . $appName . DIRECTORY_SEPARATOR);

已经改进