[Scummvm-git-logs] scummvm-web master -> 7cb0158ed1223e1d3f44e7c48a8a975c42401772

Thunderforge noreply at scummvm.org
Wed Jan 12 04:22:54 UTC 2022


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:
7cb0158ed1 WEB: Daily URL should be regardless of category


Commit: 7cb0158ed1223e1d3f44e7c48a8a975c42401772
    https://github.com/scummvm/scummvm-web/commit/7cb0158ed1223e1d3f44e7c48a8a975c42401772
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-01-11T22:22:50-06:00

Commit Message:
WEB: Daily URL should be regardless of category

Changed paths:
    include/Objects/File.php


diff --git a/include/Objects/File.php b/include/Objects/File.php
index 7e18559f..69db16ec 100644
--- a/include/Objects/File.php
+++ b/include/Objects/File.php
@@ -36,7 +36,7 @@ class File extends BasicObject
             $this->url = $url;
         } else {
             // Construct the URL based on its type
-            if ($this->category == 'scummvm' && $this->version == 'daily') {
+            if ($this->version == 'daily') {
                 $fname = DOWNLOADS_DAILY_URL . $url;
             } elseif ($this->category == 'games' || $this->category == 'addons') {
                 $fname = DOWNLOADS_EXTRAS_URL . $url;




More information about the Scummvm-git-logs mailing list