mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
fixed skipif to really skip
This commit is contained in:
parent
bf75124011
commit
dd3d739cc6
1 changed files with 5 additions and 0 deletions
|
@ -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--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue