mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
-do not dl() load
-magic_quotes_runtime
This commit is contained in:
parent
6c132995bb
commit
6663f2cd0a
@ -1,10 +1,11 @@
|
||||
<?php
|
||||
// This script prints "skip" if condition does not meet.
|
||||
|
||||
if (!extension_loaded("iconv") && ini_get("enable_dl")) {
|
||||
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||
@dl("iconv$dlext");
|
||||
}
|
||||
// Do not dl load extension
|
||||
//if (!extension_loaded("iconv") && ini_get("enable_dl")) {
|
||||
// $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||
// @dl("iconv$dlext");
|
||||
//}
|
||||
if (!extension_loaded("iconv")) {
|
||||
die("skip iconv extension not available\n");
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?php
|
||||
// This script prints "skip" if condition does not meet.
|
||||
|
||||
if (!extension_loaded("iconv") && ini_get("enable_dl")) {
|
||||
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||
@dl("iconv$dlext");
|
||||
}
|
||||
// Do not dl load extension
|
||||
//if (!extension_loaded("iconv") && ini_get("enable_dl")) {
|
||||
// $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
|
||||
// @dl("iconv$dlext");
|
||||
//}
|
||||
?>
|
@ -6,6 +6,7 @@ Translit UTF-8 quotes
|
||||
( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\"");
|
||||
?>
|
||||
--INI--
|
||||
magic_quotes_runtime=0
|
||||
error_reporting=2047
|
||||
--FILE--
|
||||
<?php // vim600: syn=php
|
||||
|
Loading…
Reference in New Issue
Block a user