aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/carp_sync_server.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php
index 30249fa7..9dd09577 100644
--- a/packages/carp_sync_server.php
+++ b/packages/carp_sync_server.php
@@ -1,4 +1,4 @@
-#!/usr/bin/php
+#!/usr/local/bin/php
<?php
@@ -30,14 +30,16 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("guiconfig.inc");
-require("xmlparse_pkg.inc");
+require_once("config.inc");
+require_once("xmlparse_pkg.inc");
+require_once("filter.inc");
if($config['installedpackages']['carpsettings']['config'] != "")
foreach($config['installedpackages']['carpsettings']['config'] as $carp)
if($carp['synchronizerules'] <> "") {
$rules = return_filename_as_string("{$g['tmp_path']}/rules_section.txt");
restore_config_section("rules", $rules);
+ filter_configure();
}
?> \ No newline at end of file