Skip to content

Commit

Permalink
Fix misnamed command
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Dec 29, 2023
1 parent 71eb1b4 commit d3b99de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/install/api/src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ public function postSetupConfig()
$opcacheEnabled = ini_get('opcache.enable');
$opcachePath = trim(ini_get('opcache.restrict_api'));

if (!empty($opcachePath) && !starts_with(__FILE__, $opcachePath)) {
if (!empty($opcachePath) && !str_starts_with(__FILE__, $opcachePath)) {
$opcacheEnabled = false;
}

Expand Down

0 comments on commit d3b99de

Please sign in to comment.