Skip to content

Commit

Permalink
fixed ubuntu compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsgsDesign authored Mar 16, 2024
1 parent 91b7d84 commit 68d6c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Admin/Controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function environment()
}

// PHP Version Check
$installedVersion=new Version(PHP_VERSION);
$installedVersion=new Version(explode("-", PHP_VERSION)[0]);
$requireVersion=new Version("7.4.0");
if (!($installedVersion->isGreaterThan($requireVersion) || $installedVersion->getVersionString()===$requireVersion->getVersionString())) {
$envs[0]['icon']="close-circle";
Expand Down

0 comments on commit 68d6c3b

Please sign in to comment.