[Scummvm-git-logs] scummvm-web master -> a8f0ee52feeaa16ba20a1f13cbef0d69e0543263
sev-
sev at scummvm.org
Tue Sep 7 23:46:40 UTC 2021
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:
a8f0ee52fe WEB: Fixing issue redirecting games with hyphens
Commit: a8f0ee52feeaa16ba20a1f13cbef0d69e0543263
https://github.com/scummvm/scummvm-web/commit/a8f0ee52feeaa16ba20a1f13cbef0d69e0543263
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2021-09-08T01:46:38+02:00
Commit Message:
WEB: Fixing issue redirecting games with hyphens
Fixing an issue that prevented loading the compatibility page for games with hyphens in their short name, such as `private-eye` and `agi-fanmade`. Previously, attempting to go to the link for such a page would result in redirecting to the index page. Now the page is properly loaded.
Changed paths:
public_html/index.php
diff --git a/public_html/index.php b/public_html/index.php
index 617eb6c9..f2963ef8 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -102,7 +102,7 @@ set_exception_handler(array('ScummVM\ExceptionHandler', 'handleException'));
$pages = array(
'compatibility' => '\ScummVM\Pages\CompatibilityPage',
'compatibility/[cId:version]' => '\ScummVM\Pages\CompatibilityPage',
- 'compatibility/[cId:version]/[a:game]' => '\ScummVM\Pages\CompatibilityPage',
+ 'compatibility/[cId:version]/[:game]' => '\ScummVM\Pages\CompatibilityPage',
'contact' => '\ScummVM\Pages\SimplePage',
'credits' => '\ScummVM\Pages\SimplePage',
'demos' => '\ScummVM\Pages\DemosPage',
More information about the Scummvm-git-logs
mailing list