]> granicus.if.org Git - php/commitdiff
zend_alter_ini_entry now with PHP_INI_USER
authorUwe Schindler <thetaphi@php.net>
Sat, 31 May 2003 15:32:50 +0000 (15:32 +0000)
committerUwe Schindler <thetaphi@php.net>
Sat, 31 May 2003 15:32:50 +0000 (15:32 +0000)
sapi/nsapi/nsapi.c

index 2b2fd166313b055c8a1e2c5ee1eccdd65d708fd6..c42b07ae7608a2e15f048cfc318c04d3cd20f162 100644 (file)
@@ -697,7 +697,7 @@ static void nsapi_php_ini_entries(NSLS_D TSRMLS_DC)
                                /* change the ini entry */
                                if (zend_alter_ini_entry(entry->param->name, strlen(entry->param->name)+1,
                                 entry->param->value, strlen(entry->param->value),
-                                PHP_INI_SYSTEM, PHP_INI_STAGE_RUNTIME)==FAILURE) {
+                                PHP_INI_USER, PHP_INI_STAGE_RUNTIME)==FAILURE) {
                                        log_error(LOG_WARN, "php4_execute", NSG(sn), NSG(rq), "Cannot change php.ini key \"%s\" to \"%s\"", entry->param->name, entry->param->value);
                                }
                        }