modules: Tell the dispatcher that the static controller is to be found in the default module
refs #5786
This commit is contained in:
parent
bcc02f50ec
commit
c0eb0cbe6a
|
@ -1055,8 +1055,9 @@ class Module
|
||||||
new Zend_Controller_Router_Route(
|
new Zend_Controller_Router_Route(
|
||||||
'js/' . $this->name . '/:file',
|
'js/' . $this->name . '/:file',
|
||||||
array(
|
array(
|
||||||
|
'action' => 'javascript',
|
||||||
'controller' => 'static',
|
'controller' => 'static',
|
||||||
'action' =>'javascript',
|
'module' => 'default',
|
||||||
'module_name' => $this->name
|
'module_name' => $this->name
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -1066,8 +1067,9 @@ class Module
|
||||||
new Zend_Controller_Router_Route_Regex(
|
new Zend_Controller_Router_Route_Regex(
|
||||||
'img/' . $this->name . '/(.+)',
|
'img/' . $this->name . '/(.+)',
|
||||||
array(
|
array(
|
||||||
'controller' => 'static',
|
|
||||||
'action' => 'img',
|
'action' => 'img',
|
||||||
|
'controller' => 'static',
|
||||||
|
'module' => 'default',
|
||||||
'module_name' => $this->name
|
'module_name' => $this->name
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue