public function sync() { if (!isset($this->filename)) { throw new Config_Lite_Exception_Runtime('no filename set.'); } if (!is_array($this->sections)) { $this->sections = array(); } if ($this->write($this->filename, $this->sections)) { $this->read($this->filename); } return $this; }