diff recLog.inc.php @ 149:5b192e94f49d

fix: 予約済み定数を使ってしまったミスを修正。エラーレベルに警告を追加
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sat, 27 Mar 2010 16:04:54 +0900
parents 9c5e597ef6c6
children 64b60603d7df
line wrap: on
line diff
--- a/recLog.inc.php	Mon Mar 22 22:43:11 2010 +0900
+++ b/recLog.inc.php	Sat Mar 27 16:04:54 2010 +0900
@@ -1,10 +1,11 @@
 <?php
 
-define( "E_INFO" , 0 );
-define( "E_ERROR", 2 );
+define( "EPGREC_INFO" , 0 );
+define( "EPGREC_WARN" , 1 );
+define( "EPGREC_ERROR", 2 );
 
 
-function reclog( $message , $level = E_INFO ) {
+function reclog( $message , $level = EPGREC_INFO ) {
 	
 	try {
 		$log = new DBRecord( LOG_TBL );