2008年8月7日星期四

[fw-mvc] Again... routing problem

Hi guys,

I have unfortunately problem with modules routing.

I created 2 modules:

default
IndexController
FooController

real
IndexController
BooController

to bootstrap I added:

$frontController = Zend_Controller_Front::getInstance();
$frontController->addModuleDirectory(ROOT_DIR . '/app/www/modules');
//folder is set right

and now examples:

http://test/ - works well, default module, controller index, action index
http://test/foo - works well, default modul, controller foo, action index

http://test/real - doesnt work, module real, controller index, action index
http://test/real/boo - doesnt work, module real, controller boo, action
index

How could I correct this? I red zf manual, searched Google, I think its set
correctly.

Thx for help :)

Sorry for my english
--
View this message in context: http://www.nabble.com/Again...-routing-problem-tp18872222p18872222.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: