【发布时间】:2012-03-07 21:17:10
【问题描述】:
我一直在尝试编写一个控制器插件,我将使用它来进行用户身份验证。 我已经编写了插件,它应该可以工作,但我只是不知道如何加载插件...我读过 Zend 框架有很多自动加载的可能性..
我当前的目录结构:
domains
example.com
Application
configs
controllers
IndexController.php
AuthController.php
ErrorController.php
forms
layouts
scripts
layout.phtml
models
plugins
AuthenticationPlugin.php
views
helpers
scripts
auth
login.phtml
error
error.phtml
index
index.phtml
Bootstrap.php
library
Zend
pubic_html
.htaccess
index.php
谁能帮帮我?
提前致谢!
【问题讨论】:
标签: php zend-framework