public function __construct() { $this->db = Database::getInstance(); // Translation tool if ($this->translation === null) { $this->translation = new Translation(['bundle' => false, 'theme' => 'sybil', 'domain' => 'database']); } }
public function __construct() { $this->db = Database::getInstance(); $this->db_name = Config::$databases[Config::$db_to_use]['dbname']; }