Fix open_basedir support regession in bfea0f7d1
parent
5152eeebdc
commit
bacbd15b6b
|
@ -108,7 +108,7 @@ class Platform
|
||||||
return self::$isWindowsSubsystemForLinux = false;
|
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;
|
return self::$isWindowsSubsystemForLinux = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue