summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php5.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-03-07 14:43:16 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-03-07 14:43:16 +0000
commit87c4a01b87608b7abc12c8258aad8b052b8c5a67 (patch)
treedc35256a74db923ef9654a37df35df54c65f21de /sapi/apache/mod_php5.c
parentd88e3ee93d58acdc2fb6192e0f44e14d631494d0 (diff)
downloadphp-git-87c4a01b87608b7abc12c8258aad8b052b8c5a67.tar.gz
Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
Diffstat (limited to 'sapi/apache/mod_php5.c')
-rw-r--r--sapi/apache/mod_php5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c
index 3fe6f0f0b3..24e68dd7a7 100644
--- a/sapi/apache/mod_php5.c
+++ b/sapi/apache/mod_php5.c
@@ -514,7 +514,7 @@ static void init_request_info(TSRMLS_D)
SG(request_info).auth_password = NULL;
SG(request_info).auth_digest = NULL;
- if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) {
+ if (authorization) {
char *p = getword(r->pool, &authorization, ' ');
if (!strcasecmp(p, "Basic")) {
tmp = uudecode(r->pool, authorization);