addServer($m[0], $m[1]); } Registry::set('memcache', $memcache); } Registry::set('counters', $counters); Registry::set('langs', $langs); Registry::set('themes', $themes); Registry::set('letters', $letters); Registry::set('health_smtp_servers', $health_smtp_servers); Registry::set('partitions_to_monitor', $partitions_to_monitor); if(Registry::get('username')) { if(isset($request->get['route'])){ $action = new Router($request->get['route']); } else { $action = new Router('search/search'); } } else { $action = new Router('login/login'); } $controller = new Front(); $controller->dispatch($action, new Router('common/not_found')); ?>