Example #1
0
 /**
  * Check if database is up and running
  *
  * @param  Database $database
  * @return bool
  */
 private function checkDbExists($database)
 {
     try {
         $blDbExists = true;
         $database->execSql("select * from oxconfig");
     } catch (Exception $oExcp) {
         $blDbExists = false;
     }
     return $blDbExists;
 }