fix static
parent
b149750873
commit
af0832f110
|
@ -125,7 +125,7 @@ if (isset($_GET['login'])) {
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<script src="<?php static_cdn(); ?>/public/static/md5.min.js"></script>
|
||||
<script src="<?php static_cdn(); ?>/public/static/md5/md5.min.js"></script>
|
||||
<script>
|
||||
function md5_post() {
|
||||
var password = document.getElementById('password');
|
||||
|
|
|
@ -36,13 +36,14 @@ if (isset($_POST['del_install'])) {
|
|||
}
|
||||
}
|
||||
|
||||
// 删除多余文件
|
||||
// 删除多余文件.whitesource
|
||||
if (isset($_POST['del_extra_files'])) {
|
||||
if ($_POST['del_extra_files'] == "del") {
|
||||
@unlink(APP_ROOT . '/CODE_OF_CONDUCT.md');
|
||||
if ($_POST['del_extra_files'] == "del") {
|
||||
@unlink(APP_ROOT . '/LICENSE');
|
||||
@unlink(APP_ROOT . '/README.md');
|
||||
@unlink(APP_ROOT . '/config/EasyIamge.lock');
|
||||
@unlink(APP_ROOT . '/.whitesource');
|
||||
@unlink(APP_ROOT . '/CODE_OF_CONDUCT.md');
|
||||
@unlink(APP_ROOT . '/config/EasyIamge.lock');
|
||||
@deldir(APP_ROOT . "/.github");
|
||||
@deldir(APP_ROOT . "/.git");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue