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(
|
||||
'js/' . $this->name . '/:file',
|
||||
array(
|
||||
'action' => 'javascript',
|
||||
'controller' => 'static',
|
||||
'action' =>'javascript',
|
||||
'module' => 'default',
|
||||
'module_name' => $this->name
|
||||
)
|
||||
)
|
||||
|
@ -1066,8 +1067,9 @@ class Module
|
|||
new Zend_Controller_Router_Route_Regex(
|
||||
'img/' . $this->name . '/(.+)',
|
||||
array(
|
||||
'controller' => 'static',
|
||||
'action' => 'img',
|
||||
'controller' => 'static',
|
||||
'module' => 'default',
|
||||
'module_name' => $this->name
|
||||
),
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue