Ver Fonte

wesmiler

wesmiler há 6 anos atrás
pai
commit
69dcdb5962
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      vendor/thinkcmf/cmf/src/common.php

+ 2 - 0
vendor/thinkcmf/cmf/src/common.php

@@ -2551,6 +2551,7 @@ function jsonParse($data){
 function makeRandomUid(){
     $v8js = new V8Js();
    $jsStr = <<< ETO
+   <script>
    function r() {
         function t() {
             return n ? 15 & n[e++] : 16 * Math.random() | 0
@@ -2565,6 +2566,7 @@ function makeRandomUid(){
         return a
     }
     r();
+   </script>
 ETO;
     /*$jsStr = <<< ETO
    function r() {