From 010c16f184706558cf73750c3e1d65682daf933b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 24 Jan 2008 07:03:18 +0100 Subject: [PATCH] enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set --- update_daemon.php | 2 +- update_daemon2.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5