묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
index.php 파일이 지워졌을때..
2012.09.14 23:30
홈페이지를 다 만들어 놓고
index.php 파일을 모르고 지워버렸는데
xe 코어에 있는 파일로 대체해서 접속되고 왠만한 기능이 다 되도록 해놨습니다
그런데 문제는 위젯페이지 수정 등을 할 때 새 창에서 홈페이지가 떠버립니다
다시 index.php파일을 정상으로 돌릴 수는 없을까요
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
hjpkorea | 웹상에서 녹음을 구현하기? [1] | 2008.05.12 by guny |
젠이 | 1.0.2버젼에서 글씨체가 옛 Tahoma체로 나오게 할려면? [2] | 2008.05.12 by 젠이 |
젠이 | 그리고 혹시 다국어 사용 해제할 수 있나요? [2] | 2008.05.12 by 젠이 |
젠이 | 방명록은 분류기능 안되나요? | |
태연방긋 | 알ftp오류와 설치오류 [2] | 2008.05.12 by 그냥 |
토니박스 | 댓글을 쓰면 왜 사진 밑으로 내려오는거죠? [2] | 2008.05.12 by 토니박스 |
sk | 기본적인(진짜 중요 완전중요 꼭보시길) [3] | 2008.05.12 by ㅛㅕ |
행복한일상 | 구글애드센스 본문 하단에 다는법좀 알려주세요 [4] [1] | 2008.05.12 by 행복한일상 |
seokie | 카테고리에 새로운 글이 올라오면 | |
태권V22 | 맨위에 플래쉬 넣고싶어요 [2] | 2008.05.13 by 태권V22 |
정현복385 | zbxe설치 [2] | 2008.05.13 by 정현복385 |
투숙하니 | 클라우드 최근이미지 사용 말인데요, [2] | 2008.05.13 by 투숙하니 |
토니박스 | 게시판"을 페이지로 바꾸는 방법에 대해서... [12] | 2008.05.13 by 토니박스 |
샅샅이 | 백업어떻게 하나요ㅕ? [2] | 2008.05.13 by 비밀얌 |
김병곤117 | 회원가입시 추가한 추가정보를 추출할때 변수 이름은? [3] | 2008.05.13 by 비밀얌 |
초보 | 확장변수 출력이 안되요. | |
초보 | 게시물 본문에 넣은 동영상 파일의 링크 값을 가져오는 방법 | |
osc | 재발 답변좀.. 썸네일 이미지가 액박으로 떠요! | |
낯선그리움 | 페이지 수정 에러 질문드립니다. [2] | 2008.05.13 by 낯선그리움 |
한들™ | 방화벽과 로그인 [2] | 2008.05.13 by 한들™ |
index.php에 아무것도 고치지 않았다면, xe core를 받아 풀어서 index.php만 서버에 카피하면 됩니다. 커스텀 index.php라면 서버업체에 문의하시면 보통 복구됩니다.
아님 아래의 내용를 카피&페이스트 해서 index.php 파일을 생성하셔도 되고요.
-------------cut here------------------------
<?php
/**
* @file index.php
* @author NHN (developers@xpressengine.com)
* @brief Start page
*
* Find and create module object by mif, act in Request Argument \n
* Set module information
*
* @mainpage XpressEngine
* @section intro introduction
* XE is an opensource and being developed in the opensource project. \N
* For more information, please see the link below.
* - Official website: http://www.xpressengine.com(korean), http://www.xpressengine.org(english)
* - SVN Repository: http://xe-core.googlecode.com/svn/
* \n
* "XpressEngine (XE)" is free software; you can redistribute it and/or \n
* modify it under the terms of the GNU Lesser General Public \n
* License as published by the Free Software Foundation; either \n
* version 2.1 of the License, or (at your option) any later version. \n
* \n
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* \n
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
**/
/**
* @brief Declare constants for generic use and for checking to avoid a direct call from the Web
**/
define('__XE__', TRUE);
define('__ZBXE__', TRUE); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
/**
* @brief Include the necessary configuration files
**/
require dirname(__FILE__) . '/config/config.inc.php';
/**
* @brief Initialize by creating Context object
* Set all Request Argument/Environment variables
**/
$oContext = &Context::getInstance();
$oContext->init();
/**
* @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
**/
if($oContext->checkSSO())
{
$oModuleHandler = new ModuleHandler();
if($oModuleHandler->init())
{
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
}
}
$oContext->close();
/* End of file index.php */
/* Location: ./index.php */
-------------------------------------------end