summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAndreas <andreas@immerda.ch>2009-11-18 17:14:54 +0100
committerAndreas <andreas@immerda.ch>2009-11-18 17:14:54 +0100
commit211812c875cf0d6bfbf96d30b23ecaed7aee1fb3 (patch)
tree4847c59d2ce3cfa4f28182e6df0694e845d08e0d /templates
parentfd26d9977a7f3723f56b063dd813af4af4202c5a (diff)
add php_bin_dir for typo3
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/php_typo3/CentOS.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/php_typo3/CentOS.erb b/templates/vhosts/php_typo3/CentOS.erb
index 7825a1b..5631bb5 100644
--- a/templates/vhosts/php_typo3/CentOS.erb
+++ b/templates/vhosts/php_typo3/CentOS.erb
@@ -44,6 +44,9 @@
php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>
php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %>
php_admin_value session.save_path <%= real_php_session_save_path %>
+ <%- unless real_php_bin_dir.to_s == 'absent' then -%>
+ php_admin_value safe_mode_exec_dir <%= real_php_bin_dir %>
+ <%- end -%>
</Directory>
<%- end -%>
@@ -122,6 +125,9 @@
php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>
php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %>
php_admin_value session.save_path <%= real_php_session_save_path %>
+ <%- unless real_php_bin_dir.to_s == 'absent' then -%>
+ php_admin_value safe_mode_exec_dir <%= real_php_bin_dir %>
+ <%- end -%>
</Directory>
<IfModule mod_security2.c>