[projects/buildlogs] Use https instead of (slowly deprecated in browsers like google chrome) ftp.

arekm arekm at pld-linux.org
Wed Feb 5 11:24:36 CET 2020


commit f2ce8c596c91dad8fb607b20920dc1b1c670c7f9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Feb 5 11:24:31 2020 +0100

    Use https instead of (slowly deprecated in browsers like google chrome) ftp.

 index.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/index.php b/index.php
index 810969f..8d01e7b 100644
--- a/index.php
+++ b/index.php
@@ -379,8 +379,8 @@ function dump_log($tail)
 				"<font color=\"green\"><b>"._("OK")."</b></font>" :
 				"<font color=\"red\"><b>"._("Failed")."</b></a>"));
 	one_item(_("Source URL"),
-		 href("ftp://$buildlogs_server/$f",
-		      "ftp://$buildlogs_server/$f"));
+		 href("https://$buildlogs_server/pld/$f",
+		      "https://$buildlogs_server/pld/$f"));
 
 	$big_url = "$url?dist=$dist&arch=$arch&ok=$ok&ns=$ns&cnt=$cnt";
 	$bu = "$big_url&off=$off";
@@ -553,7 +553,7 @@ function dump_text()
 	if ($f == false)
 		return;
 
-	echo "# src  : ftp://$buildlogs_server/$f\n";
+	echo "# src  : https://$buildlogs_server/pld/$f\n";
 	echo "# date   : " .
 			date("Y/m/d H:i:s", filemtime("$root_directory/$f")) . "\n";
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/buildlogs.git/commitdiff/f2ce8c596c91dad8fb607b20920dc1b1c670c7f9



More information about the pld-cvs-commit mailing list