sha1.js use jsdelivr

pull/493/head
qkqpttgf 2021-12-14 18:59:21 +08:00 committed by GitHub
parent f3391cd132
commit 270c73afb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1085,7 +1085,7 @@ function adminform($name = '', $pass = '', $storage = '', $path = '')
} }
} }
</script> </script>
<script src="https://cdn.bootcss.com/js-sha1/0.6.0/sha1.min.js"></script>'; <script src="https://cdn.jsdelivr.net/npm/js-sha1@0.6.0/src/sha1.min.js"></script>';
$html .= '</html>'; $html .= '</html>';
return output($html, $statusCode); return output($html, $statusCode);
} }
@ -1778,7 +1778,7 @@ output:
$frame .= getconstStr('NotNeedUpdate'); $frame .= getconstStr('NotNeedUpdate');
}*/ }*/
$frame .= '<br><br> $frame .= '<br><br>
<script src="https://cdn.bootcss.com/js-sha1/0.6.0/sha1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/js-sha1@0.6.0/src/sha1.min.js"></script>
<table> <table>
<form id="change_pass" name="change_pass" action="" method="POST" onsubmit="return changePassword(this);"> <form id="change_pass" name="change_pass" action="" method="POST" onsubmit="return changePassword(this);">
<input name="_admin" type="hidden" value=""> <input name="_admin" type="hidden" value="">