Browse Source

1,完善静态生成参数判断。

magicblack 4 years ago
parent
commit
dc4a623733
2 changed files with 2 additions and 1 deletions
  1. 1 0
      application/admin/controller/Make.php
  2. 1 1
      application/extra/version.php

+ 1 - 0
application/admin/controller/Make.php

@@ -900,6 +900,7 @@ class Make extends Base
         if(empty($ids)){
             return $this->error(lang('param_err'));
         }
+        $ids = str_replace('\\','/',$ids);
         if( count( explode("./",$ids) ) > 1){
             $this->error(lang('param_err').'2');
             return;

+ 1 - 1
application/extra/version.php

@@ -3,7 +3,7 @@ return array (
     'name' => '苹果CMS内容管理系统',
     'copyright' => 'MacCMS',
     'url' => '//github.com/magicblack',
-    'code' => '2020.1000.1074',
+    'code' => '2020.1000.1075',
     'license' => '免费版',
 );
 ?>