1.x v1.40
xiaoz 2018-11-06 19:34:49 +08:00
parent 3c91867ae9
commit b71de6418d
3 changed files with 11 additions and 4 deletions

View File

@ -24,7 +24,14 @@
$picname = md5($ip.$ua.date('Y-m-d H:i:s',time()));
//截取16个字符
$picname = substr($picname,8,16).'.png';
$onepath = $updir.'/'.date('ym',time()).'/'.$picname;
//本月图片路径
$monthdir = APP.$updir.'/'.date('ym',time());
$onepath = $updir.'/'.date('ym',time()).'/'.$picname;
//路径不存在,则创建路径
if(!file_exists($monthdir)){
mkdir($monthdir,0777);
}
//图片完整存储路径
$picpath = APP.$onepath;

View File

@ -1 +1 @@
v1.31(20180924)
v1.40(20181106)

View File

@ -11,7 +11,7 @@
</colgroup>
<thead>
<tr>
<th>目录</th>
<th>目录/说明</th>
<th>要求</th>
<th>检测结果</th>
</tr>
@ -28,7 +28,7 @@
<td><?php echo $statusarr['db']; ?></td>
</tr>
<tr>
<td></td>
<td></td>
<td>pdo_sqlite </td>
<td><?php echo $statusarr['pdo']; ?></td>
</tr>