<?php define('__ROOT__', dirname(dirname(__FILE__))); error_reporting(E_ALL); require 'vendor/autoload.php'; use Db\Db; use Db\DBAbstration; use Config\Config; $conn = DBAbstration::getInstance(); // $p = $conn->select("select * from user"); $p = new Db(); $p->create(); // use Core\Config\Config; // var_dump(Config::getInstance()->get('host'));
public function __construct($conn = "mysql") { parent::__construct($conn); }