Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Protocol (Helper) #685

Open
wants to merge 1 commit into
base: 3.3/develop
Choose a base branch
from
Open

Commits on Apr 22, 2016

  1. Current Protocol (Helper)

    Hello.
    I have this method to get the current protocol in every project, some with http,other with https.
    I made this method to help me identify better which protocol is present in my project so I can use properly http or https in my links.  I don't know if there exists something that do the same thing, but I searched and found nothing.
    
    Hope this helps or maybe if you don't want it in main class you can put it in a helper class like I did.  I extended Kohana_HTTP.
    saruman committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    b2d61ea View commit details
    Browse the repository at this point in the history