07-17-2016, 06:39 PM
It would be something like
Code:
<?php if (!securePage($_SERVER['PHP_SELF'])){ Redirect::to('http://google.com');} ?>