Fix open_basedir support regession in bfea0f7d1

main
Jordi Boggiano 3 years ago
parent 5152eeebdc
commit bacbd15b6b
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -108,7 +108,7 @@ class Platform
return self::$isWindowsSubsystemForLinux = false;
}
if (is_readable('/proc/version') && false !== stripos(file_get_contents('/proc/version'), 'microsoft')) {
if (!ini_get('open_basedir') && is_readable('/proc/version') && false !== stripos(file_get_contents('/proc/version'), 'microsoft')) {
return self::$isWindowsSubsystemForLinux = true;
}
}

Loading…
Cancel
Save