summaryrefslogtreecommitdiff
path: root/sapi/aolserver/aolserver.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-22 07:33:27 +0000
committerSascha Schumann <sas@php.net>2000-08-22 07:33:27 +0000
commitbac08af4cb97ea7e9db18a4267fb070264792f2f (patch)
treea7013101a9eef4ac1f0508abd9a87670868e2328 /sapi/aolserver/aolserver.c
parent03049aa8ac642dbe1cfaba68e5aec88fdd0f488c (diff)
downloadphp-git-bac08af4cb97ea7e9db18a4267fb070264792f2f.tar.gz
Disable php_value and add note about reliability
Diffstat (limited to 'sapi/aolserver/aolserver.c')
-rw-r--r--sapi/aolserver/aolserver.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c
index dc172e0069..90a2719ac4 100644
--- a/sapi/aolserver/aolserver.c
+++ b/sapi/aolserver/aolserver.c
@@ -557,6 +557,14 @@ php_ns_config(php_ns_context *ctx, char global)
Ns_RegisterRequest(ctx->ns_server, "GET", value, php_ns_request_handler, NULL, ctx, 0);
Ns_RegisterRequest(ctx->ns_server, "POST", value, php_ns_request_handler, NULL, ctx, 0);
Ns_RegisterRequest(ctx->ns_server, "HEAD", value, php_ns_request_handler, NULL, ctx, 0);
+
+ /*
+ * Deactivated for now. The ini system will cause random crashes when
+ * accessed from here (since there are no locks to protect the global
+ * known_directives)
+ */
+
+#if 0
} else if (!global && !strcasecmp(key, "php_value")) {
char *val;
@@ -575,6 +583,7 @@ php_ns_config(php_ns_context *ctx, char global)
strlen(val) + 1, PHP_INI_SYSTEM, PHP_INI_STAGE_RUNTIME);
efree(new_key);
+#endif
}
}