[Scummvm-git-logs] scummvm-web master -> d57164146dfbbd7dd7960542572558f21029b8b5
Mataniko
mataniko at gmail.com
Sat Oct 3 18:38:13 UTC 2020
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:
d57164146d WEB: Fix SVG loading in development mode
Commit: d57164146dfbbd7dd7960542572558f21029b8b5
https://github.com/scummvm/scummvm-web/commit/d57164146dfbbd7dd7960542572558f21029b8b5
Author: Mataniko (mataniko at gmail.com)
Date: 2020-10-03T14:38:00-04:00
Commit Message:
WEB: Fix SVG loading in development mode
Changed paths:
public_html/index.php
diff --git a/public_html/index.php b/public_html/index.php
index c9d6a1ac..aeb88979 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -10,7 +10,7 @@ if (isset($_SERVER['SERVER_SOFTWARE']) &&
\preg_match("/PHP [\d\.]+ Development Server/",$_SERVER['SERVER_SOFTWARE'])) {
chdir('public_html');
define('DEV_SERVER', true);
- if (\preg_match('/\.(?:png|jpg|jpeg|gif|css|js)/', $_SERVER["REQUEST_URI"])) {
+ if (\preg_match('/\.(?:png|jpg|jpeg|gif|css|js|svg)/', $_SERVER["REQUEST_URI"])) {
return false;
}
}
More information about the Scummvm-git-logs
mailing list