namesape fix

This commit is contained in:
2014-06-06 20:03:51 +04:00
parent 0dde2ccb59
commit 0057d6ff7c

View File

@ -78,7 +78,7 @@ class MySQLiDriver extends SqlDbDriver
$port);
// Connection errors check
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';