mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
fixed skipif to really skip
This commit is contained in:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user