ソースを参照

Update inc_archives_functions.php

tags/6.1.0^2
tianya 3年前
コミット
4ae94ec651
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/admin/inc/inc_archives_functions.php

+ 1
- 1
src/admin/inc/inc_archives_functions.php ファイルの表示

@@ -709,7 +709,7 @@ function UploadOneImage($upname, $handurl = '', $isremote = 1, $ntitle = '')
}
if (!empty($handurl) && !preg_match("#^http:\/\/#i", $handurl) && file_exists($cfg_basedir.$handurl)) {
if (!is_object($dsql)) {
$dsql = new DedeSql();
$dsql = new DedeSqli();
}
$dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE url LIKE '$handurl' ");
$fullUrl = preg_replace("#\.([a-z]*)$#i", "", $handurl);


読み込み中…
キャンセル
保存