修复删除失败

pull/18/head
icret 2021-05-04 22:12:47 +08:00
parent 673e7b39f6
commit e0ad9f1670
2 changed files with 3 additions and 3 deletions

View File

@ -80,10 +80,10 @@ if (!is_online()) {
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<div id="title" style="margin: 10px;"></div> <div id="title" style="margin: 10px;"></div>
<form class="form-condensed" method="get" action="' . $_SERVER['PHP_SELF'] . '" id="form" name="delForm" onSubmit="getStr();"> <form class="form-condensed" method="get" action="del.php" id="form" name="delForm" onSubmit="getStr();">
<div class="form-group"> <div class="form-group">
<label> <label>
删除图片 删除图片 - 格式:<br /><code>https://i1.100024.xyz/i/2021/05/04/10fn9ei.jpg</code>
</label> </label>
<input type="url" name="url" class="form-control" id="del" placeholder="请输入图片链接" /> <input type="url" name="url" class="form-control" id="del" placeholder="请输入图片链接" />
</div> </div>

View File

@ -45,7 +45,7 @@ echo '<!DOCTYPE html>
<a href="//' . $_SERVER['HTTP_HOST'] . '/libs/list.php"> <a href="//' . $_SERVER['HTTP_HOST'] . '/libs/list.php">
<i class="icon icon-list"> 广场</i> <i class="icon icon-list"> 广场</i>
<span class="label label-badge label-success"> <span class="label label-badge label-success">
' . getFileNumber(__DIR__ . '/../' . config_path()). '</span> ' . getFileNumber(__DIR__ . '/../' . config_path()) . '</span>
</a> </a>
</li> </li>
<li class=""> <li class="">