mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Align version comparison
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<td>PHP Version</td>
|
||||
<td>
|
||||
<?php
|
||||
if (version_compare(phpversion(), '8', '>')) {
|
||||
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>";
|
||||
|
||||
Reference in New Issue
Block a user