function($cfg = NULL) { $this->cacheInit(); $this->cfg = $cfg; if ($this->cfg['pass']) { $this->authenticate(); } else { $this->_authenticated = true; } }