mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #350 from phl0/showPhp7Deprecated
Show PHP < 8 as deprecated
This commit is contained in:
@@ -66,7 +66,15 @@
|
||||
|
||||
<tr>
|
||||
<td>PHP Version</td>
|
||||
<td><?php echo phpversion(); ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if (version_compare(PHP_VERSION, '8.0.0') >= 0) {
|
||||
echo phpversion()." <span class=\"badge text-bg-success\">OK</span>";
|
||||
} else {
|
||||
echo phpversion()." <span data-bs-toggle=\"tooltip\" title=\"Please update!\" class=\"badge text-bg-warning\">Deprecated</span>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -587,4 +595,4 @@
|
||||
<?php } else { ?>
|
||||
var local_branch = 'n/a';
|
||||
<?php } ?>
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user