summaryrefslogtreecommitdiff
path: root/manifests/vhost
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-08 20:36:48 +0200
committermh <mh@immerda.ch>2011-10-08 20:36:48 +0200
commit539ac8f4e8dc64ae6a071c102859f5006aa609be (patch)
treea71f49b85b4c8c1442c7500f5d444a93a77ffc7d /manifests/vhost
parent174504153f3df1d111d922bdfe77d021c9ff79dc (diff)
the key will always be here
Diffstat (limited to 'manifests/vhost')
-rw-r--r--manifests/vhost/php/standard.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp
index 98e3454..723ae3f 100644
--- a/manifests/vhost/php/standard.pp
+++ b/manifests/vhost/php/standard.pp
@@ -108,14 +108,14 @@ define apache::vhost::php::standard(
}
$real_php_options = merge($std_php_options,$php_options)
- if has_key($real_php_options,'smarty') {
+ if $real_php_options[smarty] {
include php::extensions::smarty
$smarty_path = '/usr/share/php/Smarty/:'
} else {
$smarty_path = ''
}
- if has_key($real_php_options,'pear') {
+ if $real_php_options[pear] {
$pear_path = '/usr/share/pear/:'
} else {
$pear_path = ''