mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
use utf8_basename() instead of php basename()
This commit is contained in:
parent
d017726984
commit
5c48206311
|
@ -13,6 +13,7 @@
|
|||
- check if converters are set in out/out.ViewDocument.php at all (Closes #394)
|
||||
- do not remove user when transfering objects
|
||||
- do not periodically count tasks if task list in menu is turned off
|
||||
- use utf8_basename() in op.ImportFS.php
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.6
|
||||
|
|
|
@ -57,7 +57,7 @@ function import_folder($dirname, $folder) { /* {{{ */
|
|||
$path = $dirname.'/'.$entry;
|
||||
if($entry != '.' && $entry != '..' && $entry != '.svn') {
|
||||
if(is_file($path)) {
|
||||
$name = basename($path);
|
||||
$name = utf8_basename($path);
|
||||
$filetmp = $path;
|
||||
|
||||
$reviewers = array();
|
||||
|
@ -86,7 +86,7 @@ function import_folder($dirname, $folder) { /* {{{ */
|
|||
}
|
||||
set_time_limit(30);
|
||||
} elseif(is_dir($path)) {
|
||||
$name = basename($path);
|
||||
$name = utf8_basename($path);
|
||||
if($newfolder = $folder->addSubFolder($name, '', $user, $sequence)) {
|
||||
$foldercount++;
|
||||
if(!import_folder($path, $newfolder))
|
||||
|
|
Loading…
Reference in New Issue
Block a user