From 5333586e3b577fe70ddb73ab53a7220ad09d8b6a Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 21 Nov 2009 14:52:44 +0100 Subject: purge bin dir, only add php option if we actually added binaries --- templates/vhosts/php_drupal/CentOS.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/vhosts/php_drupal') diff --git a/templates/vhosts/php_drupal/CentOS.erb b/templates/vhosts/php_drupal/CentOS.erb index 995bb7e..6c106ce 100644 --- a/templates/vhosts/php_drupal/CentOS.erb +++ b/templates/vhosts/php_drupal/CentOS.erb @@ -45,7 +45,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 -%> @@ -139,7 +139,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 -%> -- cgit v1.2.3