Mercurial > epgrec.yaz
comparison config.php.sample @ 146:4afd353b4507
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 23 Mar 2010 02:37:31 +0900 |
parents | 9a27c517df8f 42f6eb738567 |
children | 8f4f74463d08 |
comparison
equal
deleted
inserted
replaced
141:d1681f891462 | 146:4afd353b4507 |
---|---|
212 if( file_exists( INSTALL_PATH."/settings/gr_channel.php" ) ) { | 212 if( file_exists( INSTALL_PATH."/settings/gr_channel.php" ) ) { |
213 unset($GR_CHANNEL_MAP); | 213 unset($GR_CHANNEL_MAP); |
214 include_once( INSTALL_PATH."/settings/gr_channel.php" ); | 214 include_once( INSTALL_PATH."/settings/gr_channel.php" ); |
215 } | 215 } |
216 | 216 |
217 // | |
218 // settings/site_conf.phpがあればそれを優先する | |
219 // | |
220 if( file_exists( INSTALL_PATH."/settings/site_conf.php" ) ) { | |
221 unset($GR_CHANNEL_MAP); | |
222 unset($RECORD_MODE); | |
223 include_once( INSTALL_PATH."/settings/site_conf.php" ); | |
224 } | |
225 | |
226 // Deprecated | |
217 // カスタマイズした設定をロードし、デフォルト設定をオーバライドする | 227 // カスタマイズした設定をロードし、デフォルト設定をオーバライドする |
218 // unsetはカスタム設定ファイルの責任で行う | 228 // unsetはカスタム設定ファイルの責任で行う |
219 if( file_exists( INSTALL_PATH."/settings/config_custom.php" ) ) { | 229 if( file_exists( INSTALL_PATH."/settings/config_custom.php" ) ) { |
220 include_once( INSTALL_PATH."/settings/config_custom.php" ); | 230 include_once( INSTALL_PATH."/settings/config_custom.php" ); |
221 } | 231 } |