final public function restore($fname = null)
	{
		if (is_null($fname)) {
			$fname = $this->database;
		}
		if ($this->pathExtension($fname) === '') {
			$fname .= '.sql';
		}
		if ($this->pathDirname($fname) === '.') {
			$fname = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $fname;
		}

		if (@file_exists($fname) and $sql = @file_get_contents($fname)) {
			return ($this->exec($sql) > 0);
		}
		return false;
	}