Skip to content

Commit

Permalink
UPDATE #64: enable apacheurl generator in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKulhanek committed Sep 12, 2018
1 parent c822f99 commit 655de66
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ protected AFileProvider(ProviderItem provider, ISettingsStorage settingsStorage,
Db = connection;

FILESYSTEMFOLDER = Path.Combine(_rootdir, provider.loggeduser, provider.alias);
//handle west-life log on - @west-life.eu and other log-on
if (username.EndsWith("@west-life.eu")) Ug = new ApacheUrlGenerator(provider);
else Ug = new VreUrlGenerator(provider);
//handle west-life log on - @west-life.eu and other log-on
//commented - only apacheurlgenerator will be available
//if (username.EndsWith("@west-life.eu"))
Ug = new ApacheUrlGenerator(provider);
//else
// Ug = new VreUrlGenerator(provider);
WEBDAVURL = Ug.GetRootWebDavUrl();
//PUBLICWEBDAVURL = Ug.GetRootPublicWebDavUrl();
}
Expand Down

0 comments on commit 655de66

Please sign in to comment.