[Scummvm-cvs-logs] scummvm-web master -> 794b6ab40a4ab19e3874ed83d9c11effd678bb8c

sev- sev at scummvm.org
Sat Mar 5 20:29:06 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
794b6ab40a WEB: Fix extracting recommended download metadata


Commit: 794b6ab40a4ab19e3874ed83d9c11effd678bb8c
    https://github.com/scummvm/scummvm-web/commit/794b6ab40a4ab19e3874ed83d9c11effd678bb8c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-03-05T20:28:25+01:00

Commit Message:
WEB: Fix extracting recommended download metadata

Changed paths:
    include/Pages/DownloadsPage.php



diff --git a/include/Pages/DownloadsPage.php b/include/Pages/DownloadsPage.php
index 258b63f..e3f69ee 100644
--- a/include/Pages/DownloadsPage.php
+++ b/include/Pages/DownloadsPage.php
@@ -21,7 +21,7 @@ class DownloadsPage extends Controller {
 
 					if ($userAgent != "") {
 						$url = str_replace('{$release}', RELEASE, $curItem->getURL());
-						sscanf($url, "http://prdownloads.sourceforge.net/scummvm/scummvm-%s", $versionStr);
+						sscanf($url, "http://www.scummvm.org/frs/scummvm/scummvm-%s", $versionStr);
 						$version = substr($versionStr, 0, strpos($versionStr, "-"));
 						$name = strip_tags($curItem->getName());
 						$js .= "\t\t\t'{$userAgent}':\t{ 'os':\t'{$name}', 'ver':\t'{$version}', 'desc':\t'{$curItem->getExtraInfo()}', 'url':\t'{$url}'},\n";






More information about the Scummvm-git-logs mailing list