cvs: php-master-web /scripts ip-to-country update-backend
| From: | Gabor Hojtsy | Date: | Thu, 01 May 2003 19:01:42 +0000 |
| Subject: | cvs: php-master-web /scripts ip-to-country update-backend | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17194@lists.php.net to get a copy of this message | ||
goba Thu May 1 15:01:42 2003 EDT
Modified files:
/php-master-web/scripts ip-to-country update-backend
Log:
Brr, $root needs to be passed on
Index: php-master-web/scripts/ip-to-country
diff -u php-master-web/scripts/ip-to-country:1.1 php-master-web/scripts/ip-to-country:1.2
--- php-master-web/scripts/ip-to-country:1.1 Thu May 1 12:04:50 2003
+++ php-master-web/scripts/ip-to-country Thu May 1 15:01:42 2003
@@ -3,7 +3,7 @@
// This script will only work if included from "update-backend"!
// Fetch ip-to-country.com data and index database
-function fetch_ip_to_country()
+function fetch_ip_to_country($root)
{
// Files used / affected
$ipdbt = "ip-to-country.db~";
Index: php-master-web/scripts/update-backend
diff -u php-master-web/scripts/update-backend:1.13 php-master-web/scripts/update-backend:1.14
--- php-master-web/scripts/update-backend:1.13 Thu May 1 12:52:25 2003
+++ php-master-web/scripts/update-backend Thu May 1 15:01:42 2003
@@ -29,7 +29,7 @@
// Run ip-to-country fetch code
include "ip-to-country";
-fetch_ip_to_country();
+fetch_ip_to_country($root);
// Create RSS news feed file
$dest = fopen("$root/news.rss", "w");