From: krakjoe Date: Tue, 12 Nov 2013 07:09:07 +0000 (+0000) Subject: ... X-Git-Tag: php-5.6.0alpha1~110^2~432 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff4c0c9397d7435ab8462fedd3e89fe2c9e3c4d4;p=php ... --- diff --git a/web-bootstrap.php b/web-bootstrap.php index e6bea6b7f4..d50e1ead38 100644 --- a/web-bootstrap.php +++ b/web-bootstrap.php @@ -8,9 +8,13 @@ * break ... * run */ -define("PHPDBG_BOOTPATH", "/opt/php-zts/htdocs"); -define("PHPDBG_BOOTSTRAP", "index.php"); -define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP)); +if (!defined('PHPDBG_BOOTSTRAPPED')) +{ + /* define these once */ + define("PHPDBG_BOOTPATH", "/opt/php-zts/htdocs"); + define("PHPDBG_BOOTSTRAP", "index.php"); + define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP)); +} /* * Superglobals are JIT, phpdbg will not over-write whatever you set during bootstrap