浏览代码

fix rochford

import/raw
duncan.parkes 17 年前
父节点
当前提交
96662056a5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      trunk/deployment_script.svn
  2. +2
    -2
      trunk/docs/scrapers/rochford.php

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

?>
?>

正在加载...
取消
保存