Browse Source

namesape fix

namespace
Alexander Demidov 11 years ago
parent
commit
0057d6ff7c
  1. 2
      Model/MySQLiDriver.php

2
Model/MySQLiDriver.php

@ -78,7 +78,7 @@ class MySQLiDriver extends SqlDbDriver
$port); $port);
// Connection errors check // Connection errors check
if (mysqli_connect_error()) { if (mysqli_connect_error()) {
throw new GeneralException(mysqli_connect_error(), mysqli_connect_errno());
throw new \Majestic\Exception\GeneralException(mysqli_connect_error(), mysqli_connect_errno());
} }
$charset = (!empty($this->config['charset'])) ? $this->config['charset'] : 'utf8'; $charset = (!empty($this->config['charset'])) ? $this->config['charset'] : 'utf8';

Loading…
Cancel
Save