aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-16 00:19:39 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-16 00:19:39 +0200
commit8a369715453bf6f03458e9352e434ce10532ce04 (patch)
treeacce9daa4245b390df7c9a88304d2c2876de90c3
parent3ad89438237f2627435c3216dc8598bc6f55bc53 (diff)
downloadpfsense-packages-8a369715453bf6f03458e9352e434ce10532ce04.tar.gz
pfsense-packages-8a369715453bf6f03458e9352e434ce10532ce04.tar.bz2
pfsense-packages-8a369715453bf6f03458e9352e434ce10532ce04.zip
Fix copyright header and add missing include
-rw-r--r--config/apache_mod_security/apache_mod_security.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index aa0b38d2..7383427c 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -1,8 +1,9 @@
<?php
/*
- apache_mod_security.inc
- part of apache_mod_security package (http://www.pfSense.com)
+ apache_mod_security_view_logs.php
+ part of pfSense (https://www.pfSense.org/)
Copyright (C) 2009, 2010 Scott Ullrich
+ Copyright (C) 2015 ESF, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -26,6 +27,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+require_once("/etc/inc/pkg-utils.inc");
$pf_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
if ($pf_version == "2.1" || $pf_version == "2.2") {