Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function getServerProtocol() {
- $result = 'http';
- if(isset($_SERVER['HTTPS'])) {
- $result = 'https';
- }
- return $result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement