From 46842f1cf0b9f9a3386f6d1084c026056a564eb3 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Mon, 17 Sep 2007 14:24:00 +0000 Subject: [PATCH] fix rochford --- deployment_script.svn | 4 ++-- docs/scrapers/rochford.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment_script.svn b/deployment_script.svn index a5c8055..86e5d73 100755 --- a/deployment_script.svn +++ b/deployment_script.svn @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/local/bin/bash PLANNING_ROOT="/data/vhost/www.planningalerts.com/" PLANNING_BACKUPS="$PLANNING_ROOT/backups/" @@ -81,4 +81,4 @@ echo echo "Remember to check that there are no changes needed in:" echo ".htaccess" echo "docs/include/config.php" -echo \ No newline at end of file +echo diff --git a/docs/scrapers/rochford.php b/docs/scrapers/rochford.php index 29514da..965b20e 100644 --- a/docs/scrapers/rochford.php +++ b/docs/scrapers/rochford.php @@ -22,7 +22,7 @@ if (isset($_GET['year'])){ } //search url - $search_url = "http://62.173.68.168/publicaccess/dc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL"; + $search_url = "http://www.rochford.gov.uk/PublicAccess/tdc/DcApplication/application_searchresults.aspx?searchtype=WEEKLY&selWeeklyListRange=#daterange&weektype=VAL"; $date_range = "{$day}%2F{$month}%2F{$year}%7C{$day}%2F{$month}%2F{$year}"; $search_url = str_replace("#daterange", $date_range, $search_url); @@ -47,4 +47,4 @@ if (isset($_GET['year'])){ $smarty->display("xml.tpl"); -?> \ No newline at end of file +?>