diff --git a/Application/Admin/View/Default/View/Index.html b/Application/Admin/View/Default/View/Index.html index 5839246c717ea6bcdd352d3eaf9cb9fe8eb67dec..faacf26fc9afa98a220841538bded0ce7d76b354 100755 --- a/Application/Admin/View/Default/View/Index.html +++ b/Application/Admin/View/Default/View/Index.html @@ -287,7 +287,7 @@
-
$article_{{$v['item'][0]['id']}}
+
$data_{{$v['item'][0]['id']}}
checked="true" /> @@ -315,7 +315,7 @@
  • -
    $article_{{$vs.id}}
    +
    $data_{{$vs.id}}
    @@ -340,7 +340,7 @@
    -
    $article_{{$vs.id}}
    +
    $data_{{$vs.id}}
    diff --git a/Application/Common/Conf/config.php b/Application/Common/Conf/config.php index 917c2b1dfab3495416538b42a1f2c309fa831187..33922031f71e05ce6e4d61f1b6f8d2f8ff2eb3ff 100755 --- a/Application/Common/Conf/config.php +++ b/Application/Common/Conf/config.php @@ -11,7 +11,7 @@ $timezone = S('cache_common_timezone_data'); return array( // 是否开启开发者模式 - 'IS_DEVELOP' => false, + 'IS_DEVELOP' => true, // 显示页面Trace信息 'SHOW_PAGE_TRACE' => false, diff --git a/Application/Home/Controller/CommonController.class.php b/Application/Home/Controller/CommonController.class.php index 7b366012dc927a541ef7a8c01a4113d933d6191c..815667b35a081c89b026d7ab003378e62a878b47 100755 --- a/Application/Home/Controller/CommonController.class.php +++ b/Application/Home/Controller/CommonController.class.php @@ -312,7 +312,7 @@ class CommonController extends Controller $item[$ik] = $html; // 模板赋值 - $this->assign('article_'.$iv['id'], $article); + $this->assign('data_'.$iv['id'], $article); $this->assign('rules_'.$iv['id'], $iv); } } diff --git a/core.php b/core.php index 1d6d2281da9d521469e2f40399af383f97436ff8..1837a4d44fd0434ce484fe365febc9a286f3db55 100755 --- a/core.php +++ b/core.php @@ -38,7 +38,7 @@ if(is_dir("./Install") && !file_exists("./Install/install.lock")) if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !'); // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false -define('APP_DEBUG', false); +define('APP_DEBUG', true); // 分之模式,master,develop,test,debug define('APP_STATUS', 'master');