public function __construct($mode = 'r') { $this->dbConnFile = Path::getDocRoot() . "System/DBConfig.txt"; $this->SetDBConnData($mode); }