summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2006-06-16 14:09:01 +0000
committerRasmus Lerdorf <rasmus@php.net>2006-06-16 14:09:01 +0000
commit6bfeea9eb9543cb5a5f2c024a57f7c8ecfc84968 (patch)
tree948506cfed0b1ad84ca21edbb3216ed0b4b15099 /php.ini-dist
parent6320ee11cfdfbbda2b94f092a57a1eb8561aa3a5 (diff)
downloadphp-git-6bfeea9eb9543cb5a5f2c024a57f7c8ecfc84968.tar.gz
MFH: Backported allow_url_include from HEAD. This directive allows
separate control of URL handling in includes/requires allowing sites to enable allow_url_fopen without enabling remote includes.
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index ffbaae89b6..8d2e74a5da 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -531,6 +531,9 @@ upload_max_filesize = 2M
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On
+; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
+allow_url_include = Off
+
; Define the anonymous ftp password (your email address)
;from="john@doe.com"