duncan.parkes преди 17 години
родител
ревизия
46842f1cf0
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +2
    -2
      deployment_script.svn
  2. +2
    -2
      docs/scrapers/rochford.php

+ 2
- 2
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
echo

+ 2
- 2
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");

?>
?>

Зареждане…
Отказ
Запис