]> git.mxchange.org Git - friendica.git/commitdiff
Issue 2063: Define the constant SIGTERM if not defined
authorMichael Vogel <icarus@dabo.de>
Sun, 22 May 2016 10:31:32 +0000 (12:31 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 22 May 2016 10:31:32 +0000 (12:31 +0200)
boot.php

index 891d2a61a1defb074f05741bcdb08cb6e680191c..8434d34c705d3cbb5bef44953f9bdb8b43d45cbf 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -387,6 +387,10 @@ define ( 'GRAVITY_COMMENT',      6);
 /* @}*/
 
 
+// Normally this constant is defined - but not if "pcntl" isn't installed
+if (!defined("SIGTERM"))
+       define("SIGTERM", 15);
+
 /**
  *
  * Reverse the effect of magic_quotes_gpc if it is enabled.