isInstalled()) { header("Location: install/"); exit; } if (!empty($_GET['entryPoint'])) { if (!empty($_GET['portalId'])) { $app = new \Espo\Core\Portal\Application($_GET['portalId']); } $app->runEntryPoint($_GET['entryPoint']); exit; } $app->runClient();