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

域名部署应该写在什么位置呢? #74

Closed
cjango opened this issue Dec 16, 2015 · 3 comments
Closed

域名部署应该写在什么位置呢? #74

cjango opened this issue Dec 16, 2015 · 3 comments

Comments

@cjango
Copy link
Contributor

cjango commented Dec 16, 2015

\think\Route::domain('vue','vue');
应该是放在哪个文件里面的

@liu21st
Copy link
Member

liu21st commented Dec 16, 2015

只要在 域名部署检测方法之前都可以 一般是在 应用的公共文件或者 路由定义文件中 添加即可

@cjango
Copy link
Contributor Author

cjango commented Dec 16, 2015

试过了,没效果,出个例子看看呢

@liu21st
Copy link
Member

liu21st commented Dec 27, 2015

首先要开启url_domain_deploy

@liu21st liu21st closed this as completed Dec 27, 2015
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