开发者

Zend: How to create module with command line?

When I try to create module:

zf.sh cre开发者_C百科ate module user

It shows the following error:

Fatal error: Cannot redeclare class Zend_Loader in /var/www/myproject/library/Zend/Loader.php on line 31

How to avoid this error ?

Thanks


Found it. I commented out the following line in application.ini and everything is working..

;includePaths.library = APPLICATION_PATH "/../library"

Help Source:

  • http://forums.zend.com/viewtopic.php?f=69&t=813
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜