Created
November 27, 2018 04:08
-
-
Save stillfinder/6f2a2dc4bcf4c77492e7eec658829005 to your computer and use it in GitHub Desktop.
LocalValetDriver ?q hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!isset($_GET['q']) && !empty($uri) && $uri !== '/' && strpos($uri, '/jsonapi/') === false) { | |
$_GET['q'] = $uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment