Explorar el Código

Update inc_archives_functions.php

tags/6.1.0^2
tianya hace 3 años
padre
commit
4ae94ec651
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/admin/inc/inc_archives_functions.php

+ 1
- 1
src/admin/inc/inc_archives_functions.php Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar