]> granicus.if.org Git - php/commitdiff
Use zend_ini_string instead of the 'alias'.
authorfoobar <sniper@php.net>
Tue, 3 Sep 2002 22:54:02 +0000 (22:54 +0000)
committerfoobar <sniper@php.net>
Tue, 3 Sep 2002 22:54:02 +0000 (22:54 +0000)
ext/standard/basic_functions.c
ext/zlib/zlib.c

index eb00f97ee6b743acc875c372903b25f8567b8104..7468c7b73cb44521f898dcbc6eca8e2e49e3d48e 100644 (file)
@@ -1983,7 +1983,7 @@ PHP_FUNCTION(ini_get)
 
        convert_to_string_ex(varname);
 
-       str = php_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0);
+       str = zend_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0);
 
        if (!str) {
                RETURN_FALSE;
@@ -2080,7 +2080,7 @@ PHP_FUNCTION(ini_set)
        convert_to_string_ex(varname);
        convert_to_string_ex(new_value);
 
-       old_value = php_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0);
+       old_value = zend_ini_string(Z_STRVAL_PP(varname), Z_STRLEN_PP(varname)+1, 0);
 
        /* copy to return here, because alter might free it! */
        if (old_value) {
index 2c52b9a03947deb738ad297484aa1c4076479493..b6bf9e90ffc5d31dc78566f975011d15aa958cef 100644 (file)
@@ -135,7 +135,7 @@ static PHP_INI_MH(OnUpdate_zlib_output_compression)
 {
        char *ini_value;
 
-       ini_value = php_ini_string("output_handler", sizeof("output_handler"), 0); 
+       ini_value = zend_ini_string("output_handler", sizeof("output_handler"), 0); 
        if (ini_value != NULL && strlen(ini_value) != 0 && 
                new_value != NULL && strlen(new_value) != 0 ) {
                php_error_docref("ref.outcontrol" TSRMLS_CC, E_CORE_ERROR, "Cannot use both zlib.output_compression and output_handler together!!");