mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 05:31:36 +08:00
添加ConfigParser 配置文件解析类
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
namespace Think;
|
||||
// 内容解析类
|
||||
class Parser {
|
||||
protected $handler = null;
|
||||
|
||||
public function __construct($content,$type){
|
||||
$class = '\Think\Parser\Driver\\'.ucwords($type);
|
||||
$parse = new $class();
|
||||
|
||||
Reference in New Issue
Block a user