Kaynağa Gözat

Update inc_archives_functions.php

tags/6.5.9
tianya 1 hafta önce
ebeveyn
işleme
39c568ba3f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/admin/inc/inc_archives_functions.php

+ 1
- 1
src/admin/inc/inc_archives_functions.php Dosyayı Görüntüle

@@ -656,7 +656,7 @@ function UploadOneImage($upname, $handurl = '', $isremote = 1, $ntitle = '')
ShowMsg("您上传的图片格式错误,请使用jpg、png、gif、wbmp格式其中一种", "-1");
exit();
}
if (!empty($handurl) && !preg_match("#^http:\/\/#i", $handurl) && file_exists($cfg_basedir.$handurl)) {
if (!empty($handurl) && !preg_match("#^(http|https):\/\/#i", $handurl) && file_exists($cfg_basedir.$handurl)) {
if (!is_object($dsql)) {
$dsql = new DedeSqli();
}


Yükleniyor…
İptal
Kaydet