summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-11 21:41:20 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-11 21:41:20 -0800
commite4a43c99e421c830e569eaae6294286ed51e0ad8 (patch)
treeac125430c0a778db8e956257b4f24094d326d3c1 /.htaccess
parent7eabf6c1c27c2c0e98895f663bb2853d72976e01 (diff)
Mirror .htaccess PHP settings into php.ini for hosts that have
per-dir php.ini support configured, but don't use .htaccess. Fixes #1603.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 1e3a558d..5a329520 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,8 @@
+# Set some reasonable defaults for PHP. Most of these cannot be set
+# inside the script itself. For hosts that don't have .htaccess
+# support but do support per-dir php.ini files, these settings are
+# mirrored in php.ini
+#
<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off