com php-src: ...: web-bootstrap.php

From: Date: Tue, 12 Nov 2013 07:09:07 +0000
Subject: com php-src: ...: web-bootstrap.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75075@lists.php.net to get a copy of this message
Commit: ff4c0c9397d7435ab8462fedd3e89fe2c9e3c4d4 Author: krakjoe <joe.watkins@live.co.uk> Tue, 12 Nov 2013 07:09:07 +0000 Parents: 6c5831aa09a85b069dfc0c9360547f960fb701e2 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ff4c0c9397d7435ab8462fedd3e89fe2c9e3c4d4 Log: .. Changed paths: M web-bootstrap.php Diff: diff --git a/web-bootstrap.php b/web-bootstrap.php index e6bea6b..d50e1ea 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

« previous php.cvs (#75075) next »