From 22676f7e21a50293258c18bc1b5c0d66f6e0dc47 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 22 May 2016 12:31:32 +0200 Subject: [PATCH] Issue 2063: Define the constant SIGTERM if not defined --- boot.php | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.39.5