From 714d84fe978f1852c650756e1f044ffb5a7aff82 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 18 Apr 2014 11:26:03 +0200 Subject: fix another deprecation warning --- templates/vhosts/default.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/vhosts/default.erb b/templates/vhosts/default.erb index bf6485c..79e713d 100644 --- a/templates/vhosts/default.erb +++ b/templates/vhosts/default.erb @@ -11,12 +11,12 @@ vhost_parts.each do |vhost_part| -%> <%= scope.function_template(['apache/vhosts/partials/logs.erb']) %> -<% if run_mode.to_s =~ /(proxy\-|static\-)?itk/ -%> +<% if @run_mode.to_s =~ /(proxy\-|static\-)?itk/ -%> AssignUserId <%= "#{@run_uid} #{@run_gid}" %> -<% elsif run_mode.to_s == 'fcgid' -%> +<% elsif @run_mode.to_s == 'fcgid' -%> SuexecUserGroup <%= "#{@run_uid} #{@run_gid}" %> FcgidMaxRequestsPerProcess 5000 -- cgit v1.2.3