Skip to content

Commit

Permalink
Update helpers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Mar 22, 2022
1 parent 62cef8b commit 84514a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function worker_start($process_name, $config)
*/
function get_realpath(string $file_path): string
{
if (is_phar()) {
if (strpos($file_path, 'phar://') === 0) {
return $file_path;
} else {
return realpath($file_path);
Expand Down

0 comments on commit 84514a9

Please sign in to comment.