示例#1
0
 /**
  * ログの存在チェック
  */
 public function has()
 {
     if (!$this->config[$this->kind]['use']) {
         return false;
     }
     return parent::has();
 }
示例#2
0
 /**
  * コンストラクタ
  */
 function __construct($name = 'auth_users')
 {
     $this->filename = DATA_HOME . $name . '.ini.php';
     $this->auth_users = parent::has() ? include $this->filename : array();
     parent::__construct($this->filename);
 }