/** * ログの存在チェック */ public function has() { if (!$this->config[$this->kind]['use']) { return false; } return parent::has(); }
/** * コンストラクタ */ 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); }