]> git.wh0rd.org - tt-rss.git/commitdiff
enable DAEMON_EXTENDED_DEBUG when envvar DAEMON_XDEBUG is set
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 24 Jan 2008 06:03:18 +0000 (07:03 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 24 Jan 2008 06:03:18 +0000 (07:03 +0100)
update_daemon.php
update_daemon2.php

index 46f9ec4b5eb3d07fe54e211ca6f02e37ac762d30..0e4efd38fdede29aa24013f3123fc20f9844a420 100644 (file)
@@ -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);
        }
 
index a03a2a791e85263794245a44d2f46a39ee1d1fa2..5ce189863ec78738ff8b22c30849fc6ddebc1661 100644 (file)
@@ -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);
        }