Skip to content

Commit

Permalink
Allow .conf files
Browse files Browse the repository at this point in the history
  • Loading branch information
SS111 committed Aug 31, 2013
1 parent 685bb2f commit 61b886c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/github/ss111/ConfigHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void populateMaps(String path) {

for (File configFile : configFiles) {

if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt")) {
if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt") || configFile.getAbsolutePath().contains(".conf")) {

try {

Expand Down Expand Up @@ -148,7 +148,7 @@ public static void populateMaps(String path) {

for (File configFile : configFilesDir) {

if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt")) {
if (configFile.isFile() & configFile.getAbsolutePath().contains(".cfg") || configFile.getAbsolutePath().contains(".txt") || configFile.getAbsolutePath().contains(".conf")) {

try {

Expand Down

0 comments on commit 61b886c

Please sign in to comment.