오늘: 13|어제: 18|전체: 234,161|회원: 118 (+0)|문서: 56,040 (+0)|댓글: 8,019 (+0)|첨부파일: 1,389 (+0)


XpressEngine
2014.05.28 00:17

로그인풀림방지 - 주소 고정하기

조회 수 2123 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
Extra Form
출처 http://www.xpressengine.com/tip/19787880

xe/index.php 파일을 열어..

define('__ZBXE__', true); 다음행에 아래코드를 추가해 주시면됩니다.


1
2
3
4
preg_match('@^(www\.)(.*)@',$_SERVER['HTTP_HOST'],$www_url);
if($www_url[1]) {
@header('Location: http://' .$www_url[2] .$_SERVER['REQUEST_URI']);
}



TAG •

?Who's Luatic™

profile

Luatic Hosting 운영자

Atachment
첨부파일 '1'

List of Articles
글쓴이 분류 제목 조회 수
Luatic™ XpressEngine 로그인풀림방지 - 주소 고정하기 file 2123
Board Pagination ‹ Prev 1 Next ›
/ 1

처음