|
|
|
@ -23,13 +23,18 @@ class Show extends Main
|
|
|
|
|
$hasOpenSsl = $return === 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* @var \Aura\Session\Session $session */
|
|
|
|
|
$session = $this->get('session');
|
|
|
|
|
$segment = $session->getSegment('main');
|
|
|
|
|
|
|
|
|
|
$data = [
|
|
|
|
|
'hasExecEnabled' => $execEnabled,
|
|
|
|
|
'hasOpenSsl' => $hasOpenSsl,
|
|
|
|
|
'hasOpenSslExtension' => extension_loaded('openssl'),
|
|
|
|
|
'hasZipExtension' => extension_loaded('zip'),
|
|
|
|
|
'hostname' => parse_url($_SERVER['HTTP_HOST'], PHP_URL_HOST),
|
|
|
|
|
'hostnameWithPort' => $_SERVER['HTTP_HOST']
|
|
|
|
|
'hostnameWithPort' => $_SERVER['HTTP_HOST'],
|
|
|
|
|
'error' => $segment->getFlash('error')
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
return $this->render('install.html.twig', $data);
|
|
|
|
|