limin пре 7 година
родитељ
комит
d10340f702
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/java/com/goafanti/common/utils/FileUtils.java

+ 2 - 2
src/main/java/com/goafanti/common/utils/FileUtils.java

@@ -112,13 +112,13 @@ public class FileUtils {
 		}
 		return fileName;
 	}
+	
 	public static String mosaicFileName( String fn, boolean isPrivate, String path, String uid) {
-
 		String fileName = "";
 		if (isPrivate) {
 			fileName = path + uid + "/" + fn;
 		} else {
-			fileName = path + uid + "/" + System.nanoTime()  + fn ;
+			fileName = path + uid + "/" + "logo"  + fn ;
 		}
 		return fileName;
 	}