From: Andrew Dolgov Date: Thu, 24 Jan 2008 06:03:18 +0000 (+0100) Subject: enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set X-Git-Tag: 1.2.20~68 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=010c16f184706558cf73750c3e1d65682daf933b;p=tt-rss.git enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set --- diff --git a/update_daemon.php b/update_daemon.php index 46f9ec4b..0e4efd38 100644 --- a/update_daemon.php +++ b/update_daemon.php @@ -15,7 +15,7 @@ require_once "version.php"; - if (strpos(VERSION, ".99") !== false) { + if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) { define('DAEMON_EXTENDED_DEBUG', true); } diff --git a/update_daemon2.php b/update_daemon2.php index a03a2a79..5ce18986 100644 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -16,7 +16,7 @@ require_once "version.php"; - if (strpos(VERSION, ".99") !== false) { + if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) { define('DAEMON_EXTENDED_DEBUG', true); }