summaryrefslogtreecommitdiff
path: root/templates/vhosts/php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php')
-rw-r--r--templates/vhosts/php/CentOS.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index 6e991be..53251ad 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -12,7 +12,9 @@
<Directory "<%= documentroot %>">
AllowOverride <%= allow_override %>
-
+ <%- unless options.to_s == 'absent' then -%>
+ Options <%= options %>
+ <%- end %>
php_admin_flag engine on
php_admin_value open_basedir <%= documentroot %>:<%= php_upload_tmp_dir %>:<%= php_session_save_path %>
php_admin_value upload_tmp_dir <%= php_upload_tmp_dir %>