We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d91c94 commit 2929a23Copy full SHA for 2929a23
phpserver/router.php
@@ -38,7 +38,6 @@
38
*/
39
40
if (php_sapi_name() === 'cli-server') {
41
-
42
$debug("URI: {$_SERVER["REQUEST_URI"]}");
43
if (preg_match('/^\/(index|get|static)\.php(\/)?/', $_SERVER["REQUEST_URI"])) {
44
return false; // serve the requested resource as-is.
@@ -62,14 +61,12 @@
62
61
63
$magentoPackagePubDir = __DIR__."/../pub";
64
65
- if (
66
- strpos($route, 'media/') === 0 ||
+ if (strpos($route, 'media/') === 0 ||
67
strpos($route, 'opt/') === 0 ||
68
strpos($route, 'static/') === 0 ||
69
strpos($route, 'errors/default/css/') === 0 ||
70
strpos($route, 'errors/default/images/') === 0
71
) {
72
73
$origFile = $magentoPackagePubDir.'/'.$route;
74
75
if (strpos($route, 'static/version') === 0) {
0 commit comments