Added namespaces
/trunk/Db/MySQLDB.php |
---|
1,5 → 1,7 |
<?php |
namespace PointedEars\PHPX\Db; |
require_once __DIR__ . '/Database.php'; |
class MySQLDB extends Database |
56,7 → 58,7 |
if (!is_null($this->_charset)) |
{ |
$this->_options[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES " . $this->_charset; |
$this->_options[\PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES " . $this->_charset; |
} |
parent::__construct(); |