Welcome Guest, Not a member yet? Register   Sign In
http to htts
#2

everything i'm doing is https. its very easy -- you can set it in the config/config in base_url

but here is my 'insider' tip -- leave base_url in config.php blank and assign the base url in index.php like this:

PHP Code:
$assign_to_config['base_url'] = 'https://website.com/'

that way -- you can have local and server versions of your application -- and the url is always correct because you are setting it in the index.php file which is not inside the application folder. you can also easily switch versions:

PHP Code:
$assign_to_config['base_url'] = 'https://website.com/beta/'
Reply


Messages In This Thread
http to htts - by prodip56 - 03-31-2015, 04:28 AM
RE: http to htts - by cartalot - 03-31-2015, 10:32 AM
RE: http to htts - by silentium - 03-31-2015, 11:21 AM
RE: http to htts - by CroNiX - 03-31-2015, 01:44 PM
RE: http to htts - by prodip56 - 03-31-2015, 02:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB