Fix reading status prop for cutom pools

tags/0.0.1_0.fc26_el6
Daniel Berteaud 8 years ago
parent a317932158
commit 05acd70658
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig

@ -54,7 +54,7 @@ _EOF
} }
$OUT .= "# Custom PHP pools\n"; $OUT .= "# Custom PHP pools\n";
foreach my $pool ($p->get_all_by_prop(type => 'pool')){ foreach my $pool ($p->get_all_by_prop(type => 'pool')){
next if ($pool->prop('status' || 'enabled') ne 'enabled'); next if (($pool->prop('status') || 'enabled') ne 'enabled');
my $key = $pool->key; my $key = $pool->key;
my $ver = $pool->prop('Version') || ''; my $ver = $pool->prop('Version') || '';
$OUT .=<<_EOF; $OUT .=<<_EOF;

Loading…
Cancel
Save