[英]Yiic wants to create webapp in framework folder
I'm on linux and my home directory is: 我在linux上,我的主目录是:
public_html/yii
(I installed yii in a subdomain yii.domain.com) (我将yii安装在子域yii.domain.com中)
my framework is in: 我的框架在:
public_html/yii/yiiroot/framework
i want to create a project called demo, but it always tries to create it in the framework folder. 我想创建一个名为demo的项目,但它总是尝试在framework文件夹中创建它。
ie. 即。
cd public_html/yii
yiiroot/framework/yiic webapp demo
when I run this command it asks me if I want to create a webapp in: 当我运行此命令时,它会问我是否要在以下位置创建webapp:
public_html/yii/yiiroot/framework/demo
How do I reconfigure? 如何重新配置?
我想您可以只硬编码webapp文件夹的绝对路径。
yiiroot/framework/yiic webapp ~/public_html/demo
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.