Changeset 15086


Ignore:
Timestamp:
2007/07/20 19:39:12 (13 years ago)
Author:
adati
Message:

DB接続失敗時にDSN情報を表示しないように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel/data/class/SC_DbConn.php

    r13518 r15086  
    109109         
    110110        if(PEAR::isError($this->conn)) { 
    111             if(ADMIN_MODE){ 
    112                 sfErrorHeader("DB¤Ø¤ÎÀܳ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£:" . $this->dsn); 
    113             }else{ 
    114                 sfErrorHeader("DB¤Ø¤ÎÀܳ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£:"); 
    115             } 
     111            sfErrorHeader("DB¤Ø¤ÎÀܳ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"); 
     112            gfPrintLog("couldn't connect : " . $this->dsn); 
    116113            return 0; 
    117114        } 
Note: See TracChangeset for help on using the changeset viewer.