예제 #1
0
파일: index.php 프로젝트: ncrousset/MiniFW
<?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'));
예제 #2
0
 public function __construct($conn = "mysql")
 {
     parent::__construct($conn);
 }