Changeset 4279 for sandbox

Show
Ignore:
Timestamp:
06/12/2008 04:10:57 PM (3 months ago)
Author:
zero
Message:

url을 생성하는 로직에서 hostname을 빼도록 한 부분의 오류 수정

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/classes/context/Context.class.php

    r4278 r4279  
    657657            } 
    658658 
    659             if($use_ssl) return sprintf("%s://%s%s",'https',$_SERVER['HTTP_HOST'], getScriptPath()); 
    660              
    661             return getScriptPath(); 
     659            return sprintf("%s://%s%s",$use_ssl?'https':'http',$_SERVER['HTTP_HOST'], getScriptPath()); 
    662660        } 
    663661