From: Michael Vogel Date: Sun, 22 May 2016 10:31:32 +0000 (+0200) Subject: Issue 2063: Define the constant SIGTERM if not defined X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=22676f7e21a50293258c18bc1b5c0d66f6e0dc47;p=friendica.git Issue 2063: Define the constant SIGTERM if not defined --- diff --git a/boot.php b/boot.php index 891d2a61a1..8434d34c70 100644 --- 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.