summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_gallery2/php_gallery2.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_gallery2/php_gallery2.erb')
-rw-r--r--templates/vhosts/php_gallery2/php_gallery2.erb13
1 files changed, 1 insertions, 12 deletions
diff --git a/templates/vhosts/php_gallery2/php_gallery2.erb b/templates/vhosts/php_gallery2/php_gallery2.erb
index 5935b44..b0a6591 100644
--- a/templates/vhosts/php_gallery2/php_gallery2.erb
+++ b/templates/vhosts/php_gallery2/php_gallery2.erb
@@ -31,18 +31,7 @@
<%- end -%>
<%= scope.function_template('apache/vhosts/partials/authentication.erb') %>
- php_admin_flag engine on
- php_admin_flag safe_mode Off
- php_admin_value output_buffering Off
- <%- unless php_default_charset.to_s == 'absent' then -%>
- php_admin_value default_charset <%= php_default_charset %>
- <%- end -%>
- php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>:<%= gdatadir %><%= ":#{real_upload_dir.to_s}" if upload_dir.to_s != 'absent' %>
- php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %>
- php_admin_value session.save_path <%= real_php_session_save_path %>
- <%- 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 -%>
+<%= scope.function_template('apache/vhosts/partials/php_settings.erb') %>
# Always rewrite login's
# Source: http://gallery.menalto.com/node/30558
RewriteEngine On