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 3969fd6 commit ab10529Copy full SHA for ab10529
book/from_flat_php_to_symfony2.rst
@@ -367,7 +367,7 @@ on the requested URI:
367
require_once 'controllers.php';
368
369
// route the request internally
370
- $uri = $_SERVER['REQUEST_URI'];
+ $uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
371
if ('/index.php' == $uri) {
372
list_action();
373
} elseif ('/index.php/show' == $uri && isset($_GET['id'])) {
0 commit comments