config 설정 방식을 함수를 이용하도록 변경
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
require_once(__dir__.'/../../d_setting/conf.php');
|
||||
|
||||
function newDB(){
|
||||
$host = '_host_';
|
||||
$user = '_user_';
|
||||
$password = '_password_';
|
||||
$dbName = '_dbName_';
|
||||
$port = _port_;
|
||||
$encoding = 'utf8';
|
||||
|
||||
return new MeekroDB($host,$user,$password,$dbName,$port,$encoding);
|
||||
}
|
||||
Reference in New Issue
Block a user