[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/download
From: Ben Cooksley <bcooksley () kde ! org>
Date: 2011-05-27 23:53:23
Message-ID: 20110527235323.3F7D0AC73E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1233844 by bcooksley:
Changes needed for ftpmaster compatibility.
Forbid robots from indexing us
Maintain the ocs/ stuff in svn now
M +4 -4 download.php
A ocs (directory)
A ocs/providers.xml
A robots.txt
--- trunk/www/areas/download/download.php #1233843:1233844
@@ -66,8 +66,8 @@
#$ip = "217.132.18.136";
$ipnum = IPAddress2IPNumber($ip);
- $db = mysql_connect("localhost", "kdedownload", "kingofQueens");
- mysql_select_db("countrydb", $db);
+ $db = mysql_connect("localhost", "wwwdownload", "rpM2UW0p");
+ mysql_select_db("wwwdownload", $db);
$result = mysql_query("SELECT country_code,country_name FROM ip WHERE $ipnum>= \
ip_from AND $ipnum<=ip_to"); if (! ( list($countrycode, $countryname) = \
mysql_fetch_row($result)) ) { $countryname = "UNITED STATES";
@@ -91,7 +91,7 @@
# 96 hours ago
$deadline = time() - 96*60*60;
-$handle = fopen("./mirmon.state", "r");
+$handle = fopen("/srv/www/mirmon/mirmon.state", "r");
if (is_resource($handle)) {
while (!feof($handle)) {
@@ -107,7 +107,7 @@
fclose($handle);
}
-$handle = fopen("/srv/www/svn/www/sites/www/mirrors/kdemirrors.list", "r");
+$handle = fopen("/srv/www/svn/sites/www/mirrors/kdemirrors.list", "r");
if (is_resource($handle)) {
while (!feof($handle)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic