enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set

This commit is contained in:
Andrew Dolgov 2008-01-24 07:03:18 +01:00
parent 39a5249904
commit 010c16f184
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
require_once "version.php"; require_once "version.php";
if (strpos(VERSION, ".99") !== false) { if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) {
define('DAEMON_EXTENDED_DEBUG', true); define('DAEMON_EXTENDED_DEBUG', true);
} }

View File

@ -16,7 +16,7 @@
require_once "version.php"; require_once "version.php";
if (strpos(VERSION, ".99") !== false) { if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) {
define('DAEMON_EXTENDED_DEBUG', true); define('DAEMON_EXTENDED_DEBUG', true);
} }