mirror of https://github.com/helloxz/imgurl
parent
3c91867ae9
commit
b71de6418d
|
@ -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;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
v1.31(20180924)
|
||||
v1.40(20181106)
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue