SIGTERM moved
This commit is contained in:
parent
33ac39c335
commit
27e9f2b223
7
boot.php
7
boot.php
|
@ -36,7 +36,7 @@ use Friendica\Core\Session;
|
||||||
* feed for the source.
|
* feed for the source.
|
||||||
* This can be used in HTML and JavaScript where needed a line break.
|
* This can be used in HTML and JavaScript where needed a line break.
|
||||||
*/
|
*/
|
||||||
define('EOL', "<br />\r\n");
|
define('EOL', "<br />\r\n");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Gravity
|
* @name Gravity
|
||||||
|
@ -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 New Issue
Block a user