$error[]=_('phpIPAM is not yet compatible with this version of php.')." "._('You may encounter issues & errors.')."<br><br>";
$error[]=_('Please set <q>$allow_untested_php_versions=true;</q> in config.php to continue at your own risk.');
}
}
elseif(!empty($missingExt)){
elseif(!empty($missingExt)){
$error[]="<div class='alert alert-danger' style='margin:auto;margin-top:20px;width:500px;'><strong>"._('The following required PHP extensions are missing').":</strong><br><hr>";
$error[]="<strong>"._('The following required PHP extensions are missing').":</strong><br><hr>";
$error[]=_('Please recompile PHP to include missing extensions and restart Apache.');
$error[]=_('Please recompile PHP to include missing extensions and restart Apache.');
}
}
elseif(!empty($missingFns)){
elseif(!empty($missingFns)){
$error[]="<div class='alert alert-danger' style='margin:auto;margin-top:20px;width:500px;'><strong>"._('The following required PHP functions are missing').":</strong><br><hr>";
$error[]="<strong>"._('The following required PHP functions are missing').":</strong><br><hr>";
$error[]='<ul>'."\n";
$error[]='<ul>'."\n";
foreach($missingFnsas$missing){
foreach($missingFnsas$missing){
$error[]='<li>'.$missing.'</li>'."\n";
$error[]='<li>'.$missing.'</li>'."\n";
...
@@ -104,7 +105,9 @@ else {
...
@@ -104,7 +105,9 @@ else {
if(isset($error)){
if(isset($error)){
$error[]="<br><br>\n";
$error[]="<br><br>\n";
$error[]=_("Lastest version can be downloaded from ")." <a href='https://github.com/phpipam/phpipam/releases' target='_blank'>GitHub</a>.";
$error[]=_("Lastest version can be downloaded from ")." <a href='https://github.com/phpipam/phpipam/releases' target='_blank'>GitHub</a>.";