fix: custom profile dir relative to profile dir
This commit is contained in:
parent
3df98310fb
commit
8327fd4e24
3 changed files with 5 additions and 2 deletions
|
|
@ -53,7 +53,8 @@ public class ProfileUploadHandler
|
|||
|
||||
private File getOrCreateCustomProfileDir()
|
||||
{
|
||||
File customProfileDir = new File(serviceContext.customProfileDir);
|
||||
// workaround: customProfileDir relative to profileDir, because RoutingEngine doesn't know custom profiles
|
||||
File customProfileDir = new File(serviceContext.profileDir, serviceContext.customProfileDir);
|
||||
if (!customProfileDir.exists())
|
||||
{
|
||||
customProfileDir.mkdir();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue