Skip to content

无法兼容windows #27

@ZhouSiliang

Description

@ZhouSiliang

1681876854064
InteractsWithRoute.php文件第91行在路径中只替换了/,在windows系统中文件分隔符是\,因而导致无法在windows上使用注解路由
解决方案:
str_replace('/', '.', $filename)
替换为
str_replace(DIRECTORY_SEPARATOR, '.', $filename)

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