Browse Source

add multi-os path separator

fs
yggverse 7 months ago
parent
commit
f410f82e10
  1. 2
      src/server.php

2
src/server.php

@ -118,7 +118,7 @@ $server->setHandler( @@ -118,7 +118,7 @@ $server->setHandler(
'/[\.]+\//', // relative directory paths
'/[\/]+\//', // remove extra slashes
],
'/',
DIRECTORY_SEPARATOR,
trim(
$request->getPath()
)

Loading…
Cancel
Save