From 0b5a9034ed6ad002972623a31f8e8aab59bc3f5c Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 11 Apr 2013 09:16:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3D=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.php b/base.php index 3358d592..d43e9d96 100644 --- a/base.php +++ b/base.php @@ -89,7 +89,7 @@ function M($name='', $tablePrefix='',$connection='') { * @param string $layer 业务层名称 * @return object */ -function D($name='',$layer='model') { +function D($name='',$layer='Model') { return Think\Loader::model($name,$layer); }