Pārlūkot izejas kodu

fix rochford

master
duncan.parkes pirms 17 gadiem
vecāks
revīzija
46842f1cf0
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      deployment_script.svn
  2. +2
    -2
      docs/scrapers/rochford.php

+ 2
- 2
deployment_script.svn Parādīt failu

@@ -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
echo

+ 2
- 2
docs/scrapers/rochford.php Parādīt failu

@@ -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");

?>
?>

Notiek ielāde…
Atcelt
Saglabāt