Ignore:
Timestamp:
08/29/10 18:32:44 (21 months ago)
Author:
vain
Message:
  • request and response are handed over to the dispatcher and no longer fetched from the dependency injector
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/dispatcher.core.php

    r4599 r4609  
    5757     * The dispatcher forwards to the pagecontroller = modulecontroller + moduleaction 
    5858     */ 
    59     public static function forward() 
     59    public static function forward($request, $response) 
    6060    { 
    6161        $route = Clansuite_HttpRequest::getRoute(); 
     
    7878        #unset($route); 
    7979 
    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); 
    8481 
    8582        # Initialize the Module 
Note: See TracChangeset for help on using the changeset viewer.