Closed hust419 closed 10 years ago
$base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http'; but,my server infomation is : 'HTTPS' => string '' (length=0) so,The base url is wrong ! I replace it with : $base_url = !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
$base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';
but,my server infomation is : 'HTTPS' => string '' (length=0) so,The base url is wrong ! I replace it with :
$base_url = !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http';