Commit 086b4c2a authored by zhz's avatar zhz

https

parent 67ba1595
......@@ -115,7 +115,7 @@ class Common
public static function getBaseUrl(){
$prefix = 'http';
if(self::is_https()){
if(self::is_https() || $_SERVER['SERVER_NAME'] == 'apiceshi.shenbd.com'){
$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