From: Markus Fischer Date: Wed, 8 May 2002 07:23:54 +0000 (+0000) Subject: - Add a warning if running with safe_mode enabled. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a3c8e6289e9de2d24e07b33420b788969b986e9;p=php - Add a warning if running with safe_mode enabled. --- diff --git a/run-tests.php b/run-tests.php index f19b9ea290..2496ea6c72 100755 --- a/run-tests.php +++ b/run-tests.php @@ -25,6 +25,22 @@ * - do not test PEAR components if base class and/or component class cannot be instanciated */ +if (ini_get('safe_mode')) { + echo <<