Change at config.php by fix url with this smart url configuration:
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");
$config['base_url'] .= "://".$_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
Source: http://codeigniter.com/wiki/Automatic_configbase_url/
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.