Create database connection using configuration then do a test

This commit is contained in:
2017-08-31 13:21:38 +07:00
parent f56503a4d4
commit 1235bd4148
3 changed files with 93 additions and 0 deletions

11
App/Config.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace App;
class Config
{
const
DB_HOST = '127.0.0.1',
DB_DB = 'cfp_test',
DB_UNAME = 'root',
DB_PWD = 'root';
}