Page MenuHomeDevCentral

D1560.id.diff
No OneTemporary

D1560.id.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
Sat, Apr 25, 21:48 (5 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3659396
Default Alt Text
D1560.id.diff (401 B)

Event Timeline