summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_typo3
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-11-21 14:52:44 +0100
committermh <mh@immerda.ch>2009-11-21 14:52:44 +0100
commit5333586e3b577fe70ddb73ab53a7220ad09d8b6a (patch)
tree31254a2b3bfb06b5cda56deffd248de9e631f0ad /templates/vhosts/php_typo3
parentf24f553a2a32b9bbeaddfe53bc30846e2f161031 (diff)
purge bin dir, only add php option if we actually added binaries
Diffstat (limited to 'templates/vhosts/php_typo3')
-rw-r--r--templates/vhosts/php_typo3/CentOS.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vhosts/php_typo3/CentOS.erb b/templates/vhosts/php_typo3/CentOS.erb
index 1b244f3..75182e1 100644
--- a/templates/vhosts/php_typo3/CentOS.erb
+++ b/templates/vhosts/php_typo3/CentOS.erb
@@ -47,7 +47,7 @@
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_safe_mode_exec_bin_dir.to_s == 'absent' then -%>
+ <%- unless php_safe_mode_exec_bins.to_s == 'absent' then -%>
php_admin_value safe_mode_exec_dir <%= real_php_safe_mode_exec_bin_dir %>
<%- end -%>
</Directory>
@@ -131,7 +131,7 @@
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_safe_mode_exec_bin_dir.to_s == 'absent' then -%>
+ <%- unless php_safe_mode_exec_bins.to_s == 'absent' then -%>
php_admin_value safe_mode_exec_dir <%= real_php_safe_mode_exec_bin_dir %>
<%- end -%>
# turn allow_url_fopen on for the extension manager fetch