]> granicus.if.org Git - php/commitdiff
...
authorkrakjoe <joe.watkins@live.co.uk>
Tue, 12 Nov 2013 07:09:07 +0000 (07:09 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Tue, 12 Nov 2013 07:09:07 +0000 (07:09 +0000)
web-bootstrap.php

index e6bea6b7f4a351f090f0e7dc456f22dd7de05a20..d50e1ead380259ab9809515df7e7c9f431c6b7dc 100644 (file)
@@ -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