Where to put plugins in a Zend Framework website

后端 未结 2 932
鱼传尺愫
鱼传尺愫 2021-01-05 08:02

The question is quite simple : I have a controller plugin for Zend Framework.

Should I put it in the \"library/Plugin\" folder, or in \"application/plugins\".

<
2条回答
  •  萌比男神i
    2021-01-05 08:31

    If its a controller plugin it goes in "application/plugins".
    If it's a general purpose plugin (ie Utility Classes and such) it goes in /library/*, where * follows the Zend Loader rules.

提交回复
热议问题