웹마스터 팁

zbxe\classes\context\Context.class.php

getRequestUri() 함수를 아래로 수정


        function getRequestUri() {
            $hostname = $_SERVER['HTTP_HOST'];
            $port = $_SERVER['SERVER_PORT'];
            if($port!=80) $hostname = str_replace(":{$port}","",$hostname).":{$port}";
            $path = str_replace('index.php','',$_SERVER['+ '+ 'SCRIPT_NAME']);
            return sprintf("http://%s%s",$hostname,$path);
        }



뭐.. 파이어폭스에서는 제대로 된다는 말도 있습니다만,
급한 불은 꺼야죠.

SVNㅇ를 사용 안해서 모르겠지만, 수정이 안 되었다면 급한대로 이걸로 고쳐 쓰세요.
80 port 쓰시는 분들은 해당사항 없습니당.

제목 글쓴이 날짜

등록된 글이 없습니다.