change info

This commit is contained in:
icret
2022-04-05 02:08:24 +08:00
parent 08d7b96c4a
commit 919228ff1e
133 changed files with 22 additions and 22 deletions

0
application/TimThumb.php Normal file → Executable file
View File

0
application/WaterMask.php Normal file → Executable file
View File

0
application/captcha.php Normal file → Executable file
View File

0
application/chart.php Normal file → Executable file
View File

0
application/check.php Normal file → Executable file
View File

0
application/check_admin.inc.php Normal file → Executable file
View File

0
application/class.thumb.php Normal file → Executable file
View File

6
application/class.upload.php Normal file → Executable file
View File

@@ -2448,13 +2448,13 @@ class Upload {
$this->log .= '&nbsp;&nbsp;&nbsp;&nbsp;MAGIC path is set to ' . $path . '<br />';
}
}
if ($path) {
if ($path && file_exists($path)) {
$f = @finfo_open(FILEINFO_MIME, $path);
} else {
$this->log .= '&nbsp;&nbsp;&nbsp;&nbsp;MAGIC path will not be used<br />';
$f = @finfo_open(FILEINFO_MIME);
}
if (is_resource($f)) {
if ($f) {
$mime = finfo_file($f, realpath($this->file_src_pathname));
finfo_close($f);
$this->file_src_mime = $mime;
@@ -2956,7 +2956,7 @@ class Upload {
function imageunset($im) {
if (is_resource($im)) {
imagedestroy($im);
} else if (is_object($im) && $im instanceOf GdImage) {
} else if (is_object($im) && $im instanceOf \GdImage) {
unset($im);
}
}

0
application/class.version.php Normal file → Executable file
View File

0
application/compress/Imagick/class.Imgcompress.php Normal file → Executable file
View File

0
application/compress/TinyImg/TinyImg.php Normal file → Executable file
View File

0
application/compress/TinyImg/cacert.pem Normal file → Executable file
View File

0
application/compress/function.compress.php Normal file → Executable file
View File

0
application/compressing.php Normal file → Executable file
View File

0
application/del.php Normal file → Executable file
View File

0
application/footer.php Normal file → Executable file
View File

0
application/function.php Normal file → Executable file
View File

0
application/header.php Normal file → Executable file
View File

0
application/hide.php Normal file → Executable file
View File

0
application/info.php Normal file → Executable file
View File

0
application/lang/class.upload.xx_XX.php Normal file → Executable file
View File

0
application/lang/class.upload.zh_CN.php Normal file → Executable file
View File

0
application/lang/class.upload.zh_TW.php Normal file → Executable file
View File

0
application/list.php Normal file → Executable file
View File

0
application/post_del.php Normal file → Executable file
View File

0
application/process.php Normal file → Executable file
View File

0
application/thumb.php Normal file → Executable file
View File

0
application/total_files.php Normal file → Executable file
View File

0
application/upload.php Normal file → Executable file
View File