Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
Fix URL passed to static.php in PHP in-dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
nieltg committed Jan 25, 2018
1 parent c7207f6 commit c4fbc5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpserver/router.php
Expand Up @@ -103,6 +103,7 @@
} else {
$debug('file does not exist');
if (strpos($route, 'static/') === 0) {
$route = preg_replace('#static/#', '', $route, 1);
$_GET['resource'] = $route;
$debug("static: $route");
include($magentoPackagePubDir.'/static.php');
Expand Down

0 comments on commit c4fbc5c

Please sign in to comment.