/** * Load route & request */ public function init() { $explode = explode(':', $_SERVER['HTTP_HOST']); $_SERVER['SERVER_NAME'] = array_shift($explode); parent::init(); }