/** * Run the application instance * @return Application */ public function run() { $this->init(); $browser = new Browser(); $isUnsupported = UnsupportedBrowserDetector::isUnsupported($browser->getBrowser(), (int) $browser->getMajorVersion()); $config = $this->getConfig(); if ($config['debugMode']) { $isUnsupported = true; } if ($isUnsupported) { $helpFile = new HelpFile($config['helpFilePath']); $view = new IeBarView(); $view->setJsFilePath($config['jsFileWebPath']); $view->render($helpFile->getText()); } return $this; }