]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
guardian.cgi: Fix unititalized value "GUARDIAN_ENABLE_OWNCLOUD".
authorMatthias Fischer <fischerm@ipfire.org>
Sat, 28 Feb 2015 10:54:58 +0000 (11:54 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 28 Feb 2015 10:54:58 +0000 (11:54 +0100)
When the owncloud addon is not installed, this value was not
initialized correctly.

Reference #10748.

html/cgi-bin/guardian.cgi

index e4c2be4e1cd470b6593e59f30a968557189d1341..ad4f3de7179574e2c83c5b3f7b78be8fd1f11c48 100644 (file)
@@ -63,6 +63,7 @@ $settings{'GUARDIAN_ENABLED'} = 'off';
 $settings{'GUARDIAN_ENABLE_SNORT'} = 'on';
 $settings{'GUARDIAN_ENABLE_SSH'} = 'on';
 $settings{'GUARDIAN_ENABLE_HTTPD'} = 'on';
+$settings{'GUARDIAN_ENABLE_OWNCLOUD'} = '';
 $settings{'GUARDIAN_LOGLEVEL'} = 'info';
 $settings{'GUARDIAN_BLOCKCOUNT'} = '3';
 $settings{'GUARDIAN_BLOCKTIME'} = '86400';