diff options
Diffstat (limited to 'pear')
-rw-r--r-- | pear/tests/pear_dependency_checkExtension.phpt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pear/tests/pear_dependency_checkExtension.phpt b/pear/tests/pear_dependency_checkExtension.phpt index 89666a8337..4992f17864 100644 --- a/pear/tests/pear_dependency_checkExtension.phpt +++ b/pear/tests/pear_dependency_checkExtension.phpt @@ -4,11 +4,15 @@ PEAR_Dependency::checkExtension() test <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit; } if (!ini_get('enable_dl') || ini_get('safe_mode')) { echo 'skip'; + exit; } +require_once 'System.php'; + $dir = ini_get('extension_dir'); if (OS_WINDOWS) { $suffix = '.dll'; @@ -50,6 +54,7 @@ foreach ($extensions as $ext) { } if (!$notloaded || !$loaded) { echo 'skip'; + exit; } ?> --FILE-- |