update to build 418

This commit is contained in:
2021-09-10 11:24:32 +08:00
parent e2f49968b3
commit 2b4d308783
9 changed files with 124 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ class MessageUtil
*/
public static function downloadCQImage($msg, $path = null) {
$path = $path ?? DataProvider::getDataFolder() . "images/";
if (!is_dir($path)) mkdir($path);
if (!is_dir($path)) @mkdir($path);
$path = realpath($path);
if ($path === false) {
Console::warning(zm_internal_errcode("E00059") . "指定的路径错误不存在!");