[Scummvm-git-logs] scummvm-web master -> 95ae6353a95f0e4b49f0b2ca915416eea66bbaa0

Mataniko mataniko at gmail.com
Sun Nov 3 00:46:12 CET 2019


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:
95ae6353a9 WEB: Match compatibility for RC versions.


Commit: 95ae6353a95f0e4b49f0b2ca915416eea66bbaa0
    https://github.com/scummvm/scummvm-web/commit/95ae6353a95f0e4b49f0b2ca915416eea66bbaa0
Author: Matan Bareket (mataniko at gmail.com)
Date: 2019-11-02T19:46:03-04:00

Commit Message:
WEB: Match compatibility for RC versions.

Changed paths:
    public_html/index.php


diff --git a/public_html/index.php b/public_html/index.php
index ab62035..7c893f9 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -100,7 +100,7 @@ $pages = array(
 $router = new \AltoRouter();
 
 // Custom match for Compatability ID.
-$router->addMatchTypes(array('cId' => '(DEV)|[0-9\.]++'));
+$router->addMatchTypes(array('cId' => "dev|[\d\.]+([rc\d]+)?"));
 
 foreach ($pages as $key => $value) {
     $router->map('GET', $key, $value);





More information about the Scummvm-git-logs mailing list