Do i need to replace my config.php for magento as the existing one has caused the website to go offline. I've been told theirs an error or somethings missing off this code:
*public function getResourceModelInstance($modelClass='', $constructArguments=array()) { $factoryName = $this->_getResourceModelFactoryClassName($modelClass); if (!$factoryName) { return false; } return $this->getModelInstance($factoryName, $constructArguments); }****