git@yoqi.me 6 years ago
parent
commit
695bac0d96
4 changed files with 7 additions and 7 deletions
  1. 4 4
      index.html
  2. 1 1
      kityminder.edit.min.js
  3. 1 1
      native-support/archive/src/Ziper.class.php
  4. 1 1
      native-support/export.php

+ 4 - 4
index.html

@@ -9,11 +9,11 @@
 
 
     <title>百度脑图 - 便捷的思维编辑工具</title>
     <title>百度脑图 - 便捷的思维编辑工具</title>
 
 
-    <script src="kityminder.edit.min.js?_=1431681867821" charset="utf-8"></script>
-    <script src="kityminder.config.js?_=1431681867821" charset="utf-8"></script>
-    <script src="lang/zh-cn/zh-cn.js?_=1431681867821" charset="utf-8"></script>
+    <script src="//cdn.yoqi.me/minder/kityminder.edit.min.js?_=1431681867821" charset="utf-8"></script>
+    <script src="//cdn.yoqi.me/minder/kityminder.config.js?_=1431681867821" charset="utf-8"></script>
+    <script src="//cdn.yoqi.me/minder/lang/zh-cn/zh-cn.js?_=1431681867821" charset="utf-8"></script>
     
     
-    <link href="ui/theme/default/css/default.all.css?_=1431681867821" type="text/css" rel="stylesheet" />
+    <link href="//cdn.yoqi.me/minder/ui/theme/default/css/default.all.css?_=1431681867821" type="text/css" rel="stylesheet" />
 
 
     <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
     <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
     <link href="favicon.ico" type="image/x-icon" rel="apple-touch-icon-precomposed">
     <link href="favicon.ico" type="image/x-icon" rel="apple-touch-icon-precomposed">

File diff suppressed because it is too large
+ 1 - 1
kityminder.edit.min.js


+ 1 - 1
native-support/archive/src/Ziper.class.php

@@ -18,7 +18,7 @@ class Ziper {
 
 
         $filename = dirname( $filepath ) . '/' . basename( $filepath ) . '.zip';
         $filename = dirname( $filepath ) . '/' . basename( $filepath ) . '.zip';
 
 
-        $state = $archive->open( $filename, ZipArchive::OVERWRITE );
+        $state = $archive->open( $filename, ZipArchive::CREATE );
 
 
         if ( $state !== true ) {
         if ( $state !== true ) {
             return null;
             return null;

+ 1 - 1
native-support/export.php

@@ -34,7 +34,7 @@ if ($download) {
         'xmind' => '.xmind',
         'xmind' => '.xmind',
         'freemind' => '.mm'
         'freemind' => '.mm'
     );
     );
-    Header ( "Content-Disposition: attachment; filename=" . $downloadName . $T[ $type ] );
+    Header ( "Content-Disposition: attachment; filename=" . urlencode($downloadName) . $T[ $type ] );
 }
 }
 
 
 readfile( $file );
 readfile( $file );

Some files were not shown because too many files changed in this diff