Beispiel #1
0
 public function start()
 {
     Database::setInstance(DatabaseConfig::DB_INSTANCE_NAME, DatabaseConfig::DB_DRIVER, DatabaseConfig::DB_USERNAME, DatabaseConfig::DB_PASSWORD, DatabaseConfig::DB_NAME, DatabaseConfig::DB_HOST);
     $this->_frontController->dispatch();
 }
 protected function __construct()
 {
     $this->setDatabaseInstance(Database::getInstance(DatabaseConfig::DB_INSTANCE_NAME));
 }