Created
November 3, 2015 20:27
-
-
Save fabriziogiordano/fd962a2b3418d29b1aaa to your computer and use it in GitHub Desktop.
cameo secret
This file contains hidden or 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
| $cameo_secrect_code = $this->filter('code')->setType('string')->setDefault('')->getArg(Request::GET); | |
| if ($cameo_secrect_code != 'WHATEVER') { | |
| throw new VideoNotFoundException('Cameo secret code missing or not correct.'); | |
| return; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment