summaryrefslogtreecommitdiffstats
path: root/core/namespace/Database.php
blob: ae233f423c652d26b781f3c5a03c62c2e22d48d1 (plain)
1
2
3
4
5
6
7
<?php
class Database extends \PDO {
	public function __construct($hostname, $basename, $username, $password) {
		parent::__construct("mysql:host={$hostname};dbname={$basename};charset=utf8mb4;", $username, $password);
	}
}
?>