Ejemplo n.º 1
0
 /**
  * @brief 日志库依赖的数据文件根目录
  *
  * @return  public static function 
  * @retval   
  * @see 
  * @note 
  * @author luhaixia
  * @date 2012/07/31 17:16:30
  **/
 public static function getDataPath()
 {
     if (defined('IS_ODP') && IS_ODP == true) {
         return DATA_PATH;
     } else {
         if (self::$strDataPath == null) {
             $ret = Bd_Conf::getConf('/log/data_path');
             if (false !== $ret) {
                 self::$strDataPath = $ret;
             } else {
                 self::$strDataPath = "./";
             }
         }
         return self::$strDataPath;
     }
 }