Receive data from database and pass to html using twig

This commit is contained in:
2017-09-04 16:20:27 +07:00
parent aa60edbbf0
commit e1d70ed8f4
6 changed files with 57 additions and 32 deletions

View File

@@ -4,8 +4,8 @@ namespace App;
class Config
{
const
DB_HOST = '127.0.0.1',
DB_DB = 'cfp_test',
DB_HOST = 'mariadb',
DB_DB = 'lepisi',
DB_UNAME = 'root',
DB_PWD = 'root';
}