Skip to content

Commit

Permalink
Fixed issue with bootfile
Browse files Browse the repository at this point in the history
  • Loading branch information
CrochetFeve0251 committed Apr 1, 2023
1 parent 37e01c6 commit 14ee452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/Services/BootManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function install() {
}
$content = $this->filesystem->read($boot_file);

if( ! preg_match('/(?<boot>boot\s*\(\s*__FILE__\s*\)\s;\b*\n)/', $content, $results) ) {
if( ! preg_match('/(?<boot>boot\s*\(\s*__FILE__\s*\)\s*;\b*\n)/', $content, $results) ) {
return;
}

Expand Down Expand Up @@ -68,4 +68,4 @@ protected function get_boot_filename() {

return $prefix . '.php';
}
}
}

0 comments on commit 14ee452

Please sign in to comment.