0
@@ -212,7 +212,6 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
$route_id_map[] = array('route' => $route_configuration['route'],
0
'route_id' => $route_id);
0
-// $route_id_map[$route_configuration['route']] = $route_id;
0
unset($route_configuration, $route_id);
0
if (!$this->route_matches($route_id_map))
0
@@ -403,6 +402,7 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
$route_id = $r['route_id'];
0
$this->action_arguments = array();
0
list ($route_path, $route_get, $route_args) = $_MIDCOM->configuration->split_route($route);
0
@@ -417,8 +417,6 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
// echo "DEBUG: simple match route_id:{$route_id}\n";
0
$this->route_array[] = $route_id;
0
- //$_MIDCOM->context->route_id = $this->route_id;
0
if ($route_args) // Route @ set
0
@@ -427,8 +425,6 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
$this->route_array[] = $route_id;
0
$this->action_arguments['variable_arguments'] = explode('/', $matches[1]);
0
- //$_MIDCOM->context->route_id = $this->route_id;
0
// Did not match, try next route
0
@@ -458,7 +454,6 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
// We have a complete match, setup route_id arguments and return
0
$this->route_array[] = $route_id;
0
- //$_MIDCOM->context->route_id = $this->route_id;
0
// Map variable arguments
0
foreach ($route_path_matches[1] as $index => $varname)
0
@@ -494,8 +489,6 @@ class midcom_core_services_dispatcher_midgard implements midcom_core_services_di
0
$this->route_array[] = $route_id;
0
$this->action_arguments = explode('/', $matches[1]);
0
- //$_MIDCOM->context->route_id = $this->route_id;
Comments
No one has commented yet.