diff options
author | mh <mh@immerda.ch> | 2014-04-18 11:26:03 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-18 11:26:03 +0200 |
commit | 714d84fe978f1852c650756e1f044ffb5a7aff82 (patch) | |
tree | cfc707f1996f428583d79552fa9af753e3cc74f9 /templates | |
parent | 41d778fe47c20f2d4c37b4c3089d50fbac6535a3 (diff) |
fix another deprecation warning
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vhosts/default.erb | 4 |
1 files changed, 2 insertions, 2 deletions
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/ -%> <IfModule mpm_itk_module> AssignUserId <%= "#{@run_uid} #{@run_gid}" %> </IfModule> -<% elsif run_mode.to_s == 'fcgid' -%> +<% elsif @run_mode.to_s == 'fcgid' -%> <IfModule mod_fcgid.c> SuexecUserGroup <%= "#{@run_uid} #{@run_gid}" %> FcgidMaxRequestsPerProcess 5000 |