aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-20 01:28:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-20 01:28:50 +0000
commite6009298523b649a66de94c7e06230a3e4eb6275 (patch)
tree62dca0a54de6d71637bc7bebdb8075ad0507f348
parente66a464510054caad24c39ec781e957420c2128a (diff)
downloadpfsense-packages-e6009298523b649a66de94c7e06230a3e4eb6275.tar.gz
pfsense-packages-e6009298523b649a66de94c7e06230a3e4eb6275.tar.bz2
pfsense-packages-e6009298523b649a66de94c7e06230a3e4eb6275.zip
Since we are passing this file to eval() trim off <?php and also get rid of the requires
-rw-r--r--packages/carp_rules.php23
1 files changed, 1 insertions, 22 deletions
diff --git a/packages/carp_rules.php b/packages/carp_rules.php
index 2c03fb83..d3ace240 100644
--- a/packages/carp_rules.php
+++ b/packages/carp_rules.php
@@ -1,4 +1,4 @@
-<?php
+
/*
carp_rules.inc
part of pfSense (www.pfSense.com)
@@ -26,26 +26,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-*/
-
-require("guiconfig.inc");
-require("xmlparse_pkg.inc");
-
-/*
- * available anchors:
- * anchor natrules
- * anchor firewallrules
- * anchor loopback
- * anchor firewallout
- * anchor ftpproxy
- * anchor dhcpserverlan
- * anchor dhcpserver
- * anchor staticrouted
- * anchor wanspoof
- * anchor wandhcp
- * anchor anti-lockout
- * anchor pptp
- */
/* return if there are no carp configured items */
if(!$config['installedpackages']['carp']['config']) return;
@@ -63,4 +43,3 @@ foreach($config['installedpackages']['carp']['config'] as $carp) {
}
}
-?> \ No newline at end of file