Commit b5aec359 authored by zhz's avatar zhz

https

parent 142f17a0
......@@ -94,7 +94,7 @@ class Common
public static function getBaseUrl(){
$prefix = 'http';
if(self::is_https() || $_SERVER['SERVER_NAME'] == 'apiceshi.shenbd.com'){
if(self::is_https()){
$prefix = 'https';
}
$url = $prefix.'://'.$_SERVER['SERVER_NAME'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment