2010年6月16日星期三

RE: [fw-mvc] CUSTOM_Controller_Plugin is loaded twice

Hi,

 

You probably use some kind of forwarding in your controller.

That is why it's called twice.

 

MvG,

 

Jachim Coudenys

Web Developer - Guideline Belgium

 

Van: Enkhbilguun Erdenetsogt [mailto:enkhbilguun@beregu.com]
Verzonden: maandag 14 juni 2010 11:23
Aan: fw-general@lists.zend.com; fw-mvc@lists.zend.com
Onderwerp: [fw-mvc] CUSTOM_Controller_Plugin is loaded twice

 

Hello everyone,

 

I just found that CUSTOM_Controller_Plugin is loaded twice. I don't think it is normal.

 

I'm using ZF 1.10.5 and application.ini registers my Controller Plugins like resources.frontController.plugins.Testo = "MY_Controller_Plugin_Testo". I just var_dump("TESTING"); in Testo Controller Plugin and the message is displayed twice in my browser.

 

Do you know how to avoid such duplicated load?

 

 

 

---

Enkhbilguun Erdenetsogt

 
-- 
This email was Anti Virus scanned.

没有评论: