首页 > 代码库 > 微型php框架 include/config.php

微型php框架 include/config.php

配置文件

<?php

defined(‘ACC‘)||exit(‘Access Denied‘);


$cfg = array();


$cfg[‘host‘] = ‘localhost‘;

$cfg[‘user‘] = ‘root‘;

$cfg[‘pwd‘] = ‘111111‘;

$cfg[‘db‘] = ‘php0620‘;

$cfg[‘port‘] = ‘3306‘;

$cfg[‘charset‘] = ‘utf8‘;


$cfg[‘updir‘] = ‘upload/‘;