Skip to content

Commit 113ecc0

Browse files
committed
Fix example code for apache::vhost::php_values
The `php_values` parameter requires a Hash, but gives examples from the ~v7 era when other values were allowed.
1 parent 04d7b51 commit 113ecc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9407,7 +9407,7 @@ Allows per-virtual host setting [`php_value`s](http://php.net/manual/en/configur
94079407
These flags or values can be overwritten by a user or an application.
94089408
Within a vhost declaration:
94099409
``` puppet
9410-
php_values => [ 'include_path ".:/usr/local/example-app/include"' ],
9410+
php_values => { 'include_path' => '.:/usr/local/example-app/include' },
94119411
```
94129412

94139413
Default value: `{}`

manifests/vhost.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@
818818
# These flags or values can be overwritten by a user or an application.
819819
# Within a vhost declaration:
820820
# ``` puppet
821-
# php_values => [ 'include_path ".:/usr/local/example-app/include"' ],
821+
# php_values => { 'include_path' => '.:/usr/local/example-app/include' },
822822
# ```
823823
#
824824
# @param php_flags

0 commit comments

Comments
 (0)