summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-02 00:41:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-02 00:41:49 +0000
commit1457211e3d1494e976f918a9d3943f83b44b8138 (patch)
tree863b4a016a50a7bda4bb2b5ef9f034b017bc158f
parent38889f48dc61c60cfff3590c5cb64f092878a553 (diff)
downloadpfsense-1457211e3d1494e976f918a9d3943f83b44b8138.zip
pfsense-1457211e3d1494e976f918a9d3943f83b44b8138.tar.gz
Turn off expose_php
-rwxr-xr-xetc/rc1
-rw-r--r--usr/local/etc/php.ini1
-rw-r--r--usr/local/lib/php.ini1
3 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index e12dca9..27f9e66 100755
--- a/etc/rc
+++ b/etc/rc
@@ -224,6 +224,7 @@ if [ "$PLATFORM" != "cdrom" ]; then
# not being able to boot back up.
cat >/usr/local/lib/php.ini <<EOF
output_buffering = "0"
+expose_php = Off
implicit_flush = true
magic_quotes_gpc = Off
max_execution_time = 99999999
diff --git a/usr/local/etc/php.ini b/usr/local/etc/php.ini
index ddb2717..4067489 100644
--- a/usr/local/etc/php.ini
+++ b/usr/local/etc/php.ini
@@ -1,4 +1,5 @@
output_buffering = "0"
+expose_php = Off
implicit_flush = true
magic_quotes_gpc = Off
max_execution_time = 99999999
diff --git a/usr/local/lib/php.ini b/usr/local/lib/php.ini
index dbbc073..8e70b7a 100644
--- a/usr/local/lib/php.ini
+++ b/usr/local/lib/php.ini
@@ -1,4 +1,5 @@
output_buffering = "0"
+expose_php = Off
implicit_flush = true
magic_quotes_gpc = Off
max_execution_time = 99999999
OpenPOWER on IntegriCloud