Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问开启了路由之后静态资源怎么访问 == #36

Closed
Kavf opened this issue Oct 21, 2017 · 2 comments
Closed

请问开启了路由之后静态资源怎么访问 == #36

Kavf opened this issue Oct 21, 2017 · 2 comments

Comments

@Kavf
Copy link

Kavf commented Oct 21, 2017

我想访问../../../web/static/css/main.css
结果访问不了
程序报错 Fatal error: Autoload file[app\controller\webAction] is fails in
大神,这个怎么解决啊

@billge1205
Copy link
Collaborator

billge1205 commented Oct 21, 2017

如果nginx 或者 apache配置正确的话 直接访问 http://yourhost/static/css/main.css
或者使用php变量 <?=$webRoot?>/static/css/main.css
具体配置看wiki文档 http://www.billge.cc/#overview-index

@Kavf
Copy link
Author

Kavf commented Oct 21, 2017

@billge1205 蟹蟹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants