开发者

Zend: How to create module with command line?

开发者 https://www.devze.com 2023-03-04 13:27 出处:网络
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 lin

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

精彩评论

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