Skip to content

没太明白 这个 setAppPath 的用法 #40

@ouyanglingyun

Description

@ouyanglingyun
          增加了setAppPath方法

Originally posted by @liu21st in #39 (comment)

没太明白这个的用法
或许把 setApp 方法中的

        $appPath = $this->path ?: $this->app->getBasePath() . $appName . DIRECTORY_SEPARATOR;

改为

        $appPath = $this->app->http->getPath() ?: $this->app->getBasePath() . $appName . DIRECTORY_SEPARATOR;

就好

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions