mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#108. config.inc.php/func.inc.php파일 직접 호출할 수 없도록 __ZBXE__ 상수 선언을 index.php로 이동하고 각 설정파일에서 선언 확인하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2363 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1c9f7dfb02
commit
c35d05b4e3
3 changed files with 9 additions and 5 deletions
|
|
@ -4,11 +4,8 @@
|
|||
* @author zero (zero@nzeo.com)
|
||||
* @brief 기본적으로 사용하는 class파일의 include 및 환경 설정을 함
|
||||
**/
|
||||
|
||||
/**
|
||||
* @brief 기본적인 상수 선언, 웹에서 직접 호출되는 것을 막기 위해 체크하는 상수 선언
|
||||
**/
|
||||
define('__ZBXE__', true);
|
||||
|
||||
if(!defined('__ZBXE__')) exit();
|
||||
|
||||
/**
|
||||
* @brief 디버그 메세지의 출력 장소
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
* @brief 편의 목적으로 만든 함수라이브러리 파일
|
||||
**/
|
||||
|
||||
if(!defined('__ZBXE__')) exit();
|
||||
|
||||
/**
|
||||
* @brief php5에 대비하여 clone 정의
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -22,6 +22,11 @@
|
|||
*
|
||||
**/
|
||||
|
||||
/**
|
||||
* @brief 기본적인 상수 선언, 웹에서 직접 호출되는 것을 막기 위해 체크하는 상수 선언
|
||||
**/
|
||||
define('__ZBXE__', true);
|
||||
|
||||
/**
|
||||
* @brief 필요한 설정 파일들을 include
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue