You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-16 11:53:58 +08:00
v2.5.1
This commit is contained in:
@@ -87,13 +87,12 @@ if ($handle->uploaded) {
|
||||
|
||||
/** 后续处理 */
|
||||
require APP_ROOT . '/application/process.php';
|
||||
|
||||
// 普通模式鉴黄
|
||||
@process_checkImg($imageUrl);
|
||||
|
||||
// 使用fastcgi_finish_request操作
|
||||
if (function_exists('fastcgi_finish_request')) {
|
||||
fastcgi_finish_request();
|
||||
// 普通模式鉴黄
|
||||
@process_checkImg($imageUrl);
|
||||
// 日志
|
||||
if ($config['upload_logs']) @write_log($pathIMG, $handle->file_src_name, $handle->file_dst_pathname, $handle->file_src_size);
|
||||
// 水印
|
||||
@@ -101,6 +100,8 @@ if ($handle->uploaded) {
|
||||
// 压缩
|
||||
@compress($handle->file_dst_pathname);
|
||||
} else {
|
||||
// 普通模式鉴黄
|
||||
@process_checkImg($imageUrl);
|
||||
// 日志
|
||||
if ($config['upload_logs']) write_log($pathIMG, $handle->file_src_name, $handle->file_dst_pathname, $handle->file_src_size);
|
||||
// 水印
|
||||
@@ -108,5 +109,6 @@ if ($handle->uploaded) {
|
||||
// 压缩
|
||||
@compress($handle->file_dst_pathname);
|
||||
}
|
||||
|
||||
unset($handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user