Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (\Config::get('ubercms.force_https', false) && \Input::protocol() != 'https') {
- $url = str_replace('http', 'https', \Uri::current());
- return \Response::redirect($url, 'refresh');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement