Changeset 4609
- Timestamp:
- 08/29/10 18:32:44 (18 months ago)
- Location:
- trunk/core
- Files:
-
- 2 edited
-
dispatcher.core.php (modified) (2 diffs)
-
frontcontroller.core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/dispatcher.core.php
r4599 r4609 57 57 * The dispatcher forwards to the pagecontroller = modulecontroller + moduleaction 58 58 */ 59 public static function forward( )59 public static function forward($request, $response) 60 60 { 61 61 $route = Clansuite_HttpRequest::getRoute(); … … 78 78 #unset($route); 79 79 80 $controllerInstance = new $classname( 81 Clansuite_CMS::getInjector()->instantiate('Clansuite_HttpRequest'), 82 Clansuite_CMS::getInjector()->instantiate('Clansuite_HttpResponse') 83 ); 80 $controllerInstance = new $classname($request, $response); 84 81 85 82 # Initialize the Module -
trunk/core/frontcontroller.core.php
r4599 r4609 145 145 $event->triggerEvent('onBeforeDispatcherForward'); 146 146 147 $this->dispatcher->forward( );147 $this->dispatcher->forward($this->request, $this->response); 148 148 149 149 $event->triggerEvent('onAfterDispatcherForward');
Note: See TracChangeset
for help on using the changeset viewer.
