13 lines
294 B
PHP
13 lines
294 B
PHP
<?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);
|
|
} |