aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfSense.geekgod.com>2009-06-19 17:38:16 -0400
committerScott Ullrich <sullrich@pfSense.geekgod.com>2009-06-19 17:38:16 -0400
commit38cf9306c2ad0f149917980f3aaf6115d9128c75 (patch)
treef7d2f3aca581ff38f9b0288b4174ef30b66a407f /config
parent21c6b3d018e974cbccf8468a9140a9dd5f0cce93 (diff)
downloadpfsense-packages-38cf9306c2ad0f149917980f3aaf6115d9128c75.tar.gz
pfsense-packages-38cf9306c2ad0f149917980f3aaf6115d9128c75.tar.bz2
pfsense-packages-38cf9306c2ad0f149917980f3aaf6115d9128c75.zip
missing as in foreach()
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index c91a063c..28d5af62 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -17,7 +17,7 @@ function apache_mod_security_deinstall() {
function generate_apache_configuration() {
// Generate mod_proxy specific configuration
$mod_proxy = "ProxyRequests on\n";
- foreach($config['installedpackages']['apache_mod_security']['config'] $ams) {
+ foreach($config['installedpackages']['apache_mod_security']['config'] as $ams) {
$sitename = str_replace(" ", "", $ams['sitename']));
$mod_proxy .= "ProxyPass /{$sitename}/ {$sitename} \n";
$mod_proxy .= "ProxyHTMLURLMap {$ams['siteurl']} /{$sitename} \n";