fix frankenphp build

This commit is contained in:
DubbleClick
2025-06-26 17:23:37 +07:00
parent 176e5627e5
commit 03a33d87ff
2 changed files with 18 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ class GlobalEnvManager
self::$env_cache[] = $val;
}
private static function addPathIfNotExists(string $path): void
public static function addPathIfNotExists(string $path): void
{
if (is_unix() && !str_contains(getenv('PATH'), $path)) {
self::putenv("PATH={$path}:" . getenv('PATH'));