Page MenuHomeDevCentral

D1560.id7009.diff
No OneTemporary

D1560.id7009.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
Sun, Sep 28, 21:29 (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3028431
Default Alt Text
D1560.id7009.diff (401 B)

Event Timeline