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