Parse EGF and FFG ratings
This commit is contained in:
@@ -9,7 +9,7 @@ private fun createStoreImplementation(): StoreImplementation {
|
||||
return when (val storeProperty = WebappManager.getProperty("store") ?: "memory") {
|
||||
"memory" -> MemoryStore()
|
||||
"file" -> {
|
||||
val filePath = WebappManager.getMandatoryProperty("store.file.path") ?: "."
|
||||
val filePath = WebappManager.getProperty("store.file.path") ?: "."
|
||||
FileStore(filePath)
|
||||
}
|
||||
else -> throw Error("unknown store: $storeProperty")
|
||||
|
Reference in New Issue
Block a user