Zend Resource Autoloaders not working for namespaces

前端 未结 3 1914
南旧
南旧 2021-01-13 21:09

I have this autloading struggle with the Zend Framework. Basically there is a folder named LunaZend in library folder. LunaZend has some classes which can be used in Zend Fr

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-13 21:56

    You can use application.ini to load some namespace.

    I used the same

    Following can be application.ini' sample code:-

    [production]
    phpSettings.display_startup_errors = 0
    phpSettings.display_errors = 0
    appnamespace = "Application"
    
    ;Autoloader Namespace
    autoloaderNamespaces.w = "LunaZend_"
    

提交回复
热议问题