Skip to content

入口文件setNamespace无效 #43

Description

@nbnatcom

文件 vendor\topthink\think-multi-app\src\MultiApp.php
函数setApp应判断是setNamespace 是否有值

if(empty($this->app->getNamespace())){
    $this->app->setNamespace($this->app->config->get('app.app_namespace') ?: 'app\\' . $appName);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions