mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
PHP8 update
This commit is contained in:
@@ -164,6 +164,7 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) {
|
||||
$latest = plugin('version',$filename);
|
||||
if ($os ? version_compare($latest,$version,'>') : strcmp($latest,$version) > 0) {
|
||||
$version .= "<br><span class='red-text'>$latest</span>";
|
||||
$error = null;
|
||||
if ( ! $os && (version_compare(plugin("min",$filename,$error) ?: "1.0",$Unraid['version'],">") || version_compare(plugin("max",$filename,$error) ?: "999.9.9",$Unraid['version'],"<") ) ) {
|
||||
$status = "<span class='warning'><i class='fa fa-exclamation-triangle' aria-hidden='true'></i> "._("Update Incompatible")."</span>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user