Page MenuHomeDevCentral

D1560.id3983.diff
No OneTemporary

D1560.id3983.diff

diff --git a/src/Environment.php b/src/Environment.php
--- a/src/Environment.php
+++ b/src/Environment.php
@@ -54,6 +54,6 @@
public static function isBSD () : bool {
static $system;
$system = php_uname("s");
- return $system == "FreeBSD" || $system == "OpenBSD" || $system == "NetBSD";
+ return substr($system, -3) === "BSD" || $system === "DragonFly";
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 7, 16:58 (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2180749
Default Alt Text
D1560.id3983.diff (401 B)

Event Timeline