Parcourir la source

fix rochford

master
duncan.parkes il y a 17 ans
Parent
révision
46842f1cf0
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +2
    -2
      deployment_script.svn
  2. +2
    -2
      docs/scrapers/rochford.php

+ 2
- 2
deployment_script.svn Voir le fichier

@@ -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 Voir le fichier

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

?>
?>

Chargement…
Annuler
Enregistrer