rabin 5 years ago
parent
commit
5deffd9c71
2 changed files with 2 additions and 1 deletions
  1. 1 0
      journal/database/cate.php
  2. 1 1
      journal/database/content.php

+ 1 - 0
journal/database/cate.php

@@ -62,6 +62,7 @@ return array
     'lang' => '小刊分类设置',
     # 后台菜单排序
     'order' => 9,
+    'gettype' => $type,
     'end' => array
     (
         'update' => array

+ 1 - 1
journal/database/content.php

@@ -38,7 +38,7 @@ $type_config = array
 */
 
 $type_default = 3;
-
+$type_config = Dever::db('journal/cate')->config['gettype'];
 if ($cate) {
     $type = array();
     $cate_type = explode(',', $cate['type']);