Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit e8548b1

Browse files
author
Yi EungJun
committed
Do not make public/uploadFiles
Yobi was making public/uploadFiles when it starts, but the directory looks not to be used.
1 parent 7caf00d commit e8548b1

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ tmp
1111
.idea*
1212
*.iml
1313
dist
14-
public/uploadFiles
1514
uploads
1615
repo/
1716
RUNNING_PID

app/controllers/Application.java

-5
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public static Result removeTrailer(String paths){
5252
}
5353

5454
public static Result init() {
55-
makeUploadFolder();
5655
makeTestRepository();
5756
return redirect(routes.Application.index());
5857
}
@@ -63,10 +62,6 @@ public static Result jsMessages() {
6362
return ok(messages.generate("Messages")).as("application/javascript");
6463
}
6564

66-
private static void makeUploadFolder() {
67-
new File("public/uploadFiles/").mkdir();
68-
}
69-
7065
private static void makeTestRepository() {
7166
for (Project project : Project.find.all()) {
7267
Logger.debug("makeTestRepository: " + project.name);

app/utils/Constants.java

-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public class Constants {
2828
public static final String TITLE = "title";
2929
public static final String DESCRIPTION = "description";
3030

31-
public static final String DEFAULT_LOGO_PATH = "public/uploadFiles/";
32-
3331
public static final String RESOURCE_KEY_DELIM = "_";
3432
public static final String ADMIN_LOGIN_ID = "admin";
3533

0 commit comments

Comments
 (0)