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