mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
change to use utf8_basename, see https://sourceforge.net/p/seeddms/discussion/general/thread/b3b3b320/ for detail
This commit is contained in:
parent
8a0d9b2481
commit
311f068a77
|
@ -86,7 +86,7 @@ function import_folder($dirname, $folder) { /* {{{ */
|
||||||
}
|
}
|
||||||
set_time_limit(30);
|
set_time_limit(30);
|
||||||
} elseif(is_dir($path)) {
|
} elseif(is_dir($path)) {
|
||||||
$name = basename($path);
|
$name = utf8_basename($path);
|
||||||
if($newfolder = $folder->addSubFolder($name, '', $user, $sequence)) {
|
if($newfolder = $folder->addSubFolder($name, '', $user, $sequence)) {
|
||||||
$foldercount++;
|
$foldercount++;
|
||||||
if(!import_folder($path, $newfolder))
|
if(!import_folder($path, $newfolder))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user