File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 11<?php
22/* (C)2005-2021 FoundPHP Framework.
3- * 官网:http://www.FoundPHP.com
4- * 邮箱:43309611@qq.com
3+ * name: Ease Template
4+ * weburl: http://www.FoundPHP.com
5+ * mail: master@FoundPHP.com
6+ * author: 孟大川
7+ * version: 1.21.34
8+ * start: 2013-02-19
9+ * update: 2021-03-04
10+ * payment: Free 免费
511* This is not a freeware, use is subject to license terms.
612* 此软件为授权使用软件,请参考软件协议。
713* http://www.foundphp.com/?m=agreement
8- * Last:2020-01-20
14+
915*/
1016
1117class FoundPHP_edit{
@@ -14,10 +20,6 @@ class FoundPHP_edit{
1420 //构造快递方法
1521 function __construct ($ ary =array ()) {
1622
17- if (!isset ($ ary ['type ' ]) || $ ary ['type ' ] == '' ) {
18- return '请设置类型 ' ;
19- }
20-
2123 $ this ->type = strtolower ($ ary ['type ' ]);
2224 //默认字符文本
2325 if (in_array ($ this ->type ,array ('text ' ,'' ))){
@@ -30,7 +32,7 @@ function __construct($ary=array()) {
3032 $ this ->ed = new edit_api ($ ary );
3133
3234 }else {
33- die ( ' 抱歉,找不到 ' . $ this ->type . ' 库 ' ); //不存在
35+ $ this ->type = ' text ' ;
3436 }
3537 }
3638 }
You can’t perform that action at this time.
0 commit comments