Anpassung an neue Editoren und Verbesserungen im Handling der Bilder im FileSystem

This commit is contained in:
2016-09-28 13:31:39 +00:00
parent f0a74fd27c
commit d6e60b68ba
3 changed files with 39 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ function fnc_buildUniqueFileName($prefix, $navId, $fileName, $fileExt)
$return = str_replace($search, $replace, mb_strtolower($fileName, mb_detect_encoding($fileName)));
$return = str_replace($ent, '', $return);
$result = glob(PATH_MED . $prefix . '/' . $navId . '/' . $return . '*_orig.' . $fileExt);
$result = glob(WEBSERVICE_MED . $prefix . '/' . $navId . '/' . $return . '*_orig.' . $fileExt);
$count = count($result);
$return = ($count > 0)
? $return . '_' . $count