如果我想讓我的應用程序加載配置文件名稱,如下所示:www.mydomain.com/simon其中simon不是控制器,它是用戶的用戶名稱來調出配置文件,這可能嗎?zend,無需加載控制器訪問應用程序?
class ProfileController extends Zend_Controller_Action {
public function init() {
}
public function indexAction(){
echo $this->_request->getParam('profileuser');
這是我可以顯示用戶的地方。
}
或東西...
完成。但我現在得到這個錯誤:致命錯誤:Zend_Controller_Router_Exception:profileuser未在C:\ wamp \ www \ foundd2 \ library \ Zend \ View \ Helper \ Navigation \ HelperAbstract.php中指定522行 –