From a91d44e09616dcb0a090d671a1b2958c27ac924f Mon Sep 17 00:00:00 2001 From: molong Date: Mon, 21 Nov 2016 17:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E9=A1=B5=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Content.php | 2 +- application/index/view/content/page/detail.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 application/index/view/content/page/detail.html diff --git a/application/index/controller/Content.php b/application/index/controller/Content.php index 196da0c0..97f7fd55 100644 --- a/application/index/controller/Content.php +++ b/application/index/controller/Content.php @@ -169,7 +169,7 @@ class Content extends Fornt { } else { $this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id]; if ($this->modelInfo['extend'] > 1) { - $this->model = model($this->modelInfo['name']); + $this->model = model('Content')->extend($this->modelInfo['name']); } else { $this->model = model('Document')->extend($this->modelInfo['name']); } diff --git a/application/index/view/content/page/detail.html b/application/index/view/content/page/detail.html new file mode 100644 index 00000000..d448a6ce --- /dev/null +++ b/application/index/view/content/page/detail.html @@ -0,0 +1 @@ +的点点滴滴 \ No newline at end of file