SIGTERM moved
This commit is contained in:
parent
33ac39c335
commit
27e9f2b223
2 changed files with 6 additions and 6 deletions
5
boot.php
5
boot.php
|
@ -50,11 +50,6 @@ define('GRAVITY_COMMENT', 6);
|
||||||
define('GRAVITY_UNKNOWN', 9);
|
define('GRAVITY_UNKNOWN', 9);
|
||||||
/* @}*/
|
/* @}*/
|
||||||
|
|
||||||
// Normally this constant is defined - but not if "pcntl" isn't installed
|
|
||||||
if (!defined('SIGTERM')) {
|
|
||||||
define('SIGTERM', 15);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the user id of locally logged in user or false.
|
* Returns the user id of locally logged in user or false.
|
||||||
*
|
*
|
||||||
|
|
|
@ -351,6 +351,11 @@ class App
|
||||||
{
|
{
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
|
// Normally this constant is defined - but not if "pcntl" isn't installed
|
||||||
|
if (!defined('SIGTERM')) {
|
||||||
|
define('SIGTERM', 15);
|
||||||
|
}
|
||||||
|
|
||||||
// Ensure that all "strtotime" operations do run timezone independent
|
// Ensure that all "strtotime" operations do run timezone independent
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue