瀏覽代碼

fix rochford

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

?>
?>

Loading…
取消
儲存