Browse Source

update realpath builder

nex-php
yggverse 7 months ago
parent
commit
8745b4aa00
  1. 7
      src/nex.php

7
src/nex.php

@ -192,12 +192,13 @@ $server->start(
// Build realpath // Build realpath
$realpath = realpath( $realpath = realpath(
NEXT_PATH . filter_var( NEXT_PATH .
urldecode( urldecode(
$request filter_var(
), $request,
FILTER_SANITIZE_URL FILTER_SANITIZE_URL
) )
)
); );
// Make sure directory path ending with slash // Make sure directory path ending with slash

Loading…
Cancel
Save