Exemple #1
0
 /**
  * @brief 日志打印的根目录
  *
  * @return  public static function 
  * @retval   
  * @see 
  * @note 
  * @author luhaixia
  * @date 2012/07/31 17:15:59
  **/
 public static function getLogPath()
 {
     if (defined('IS_ODP') && IS_ODP == true) {
         return LOG_PATH;
     } else {
         if (self::$strLogPath == null) {
             $ret = Bd_Conf::getConf('/log/log_path');
             if (false !== $ret) {
                 self::$strLogPath = $ret;
             } else {
                 self::$strLogPath = './';
             }
         }
         return self::$strLogPath;
     }
 }