Created
August 24, 2017 14:38
-
-
Save zooks/6e8bd8c7da5be64a183c9a86344e1a35 to your computer and use it in GitHub Desktop.
October CMS get param
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
function onStart() | |
{ | |
$this['search_query'] = get('q', $default = null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment