mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added better default directories
This commit is contained in:
parent
bf2d1a429b
commit
341cc4db5e
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
@ -24,7 +25,7 @@ namespace Teknik.Configuration
|
||||
Description = string.Empty;
|
||||
PodcastsToLoad = 10;
|
||||
CommentsToLoad = 10;
|
||||
PodcastDirectory = string.Empty;
|
||||
PodcastDirectory = Directory.GetCurrentDirectory();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
@ -29,7 +30,7 @@ namespace Teknik.Configuration
|
||||
public void SetDefaults()
|
||||
{
|
||||
MaxUploadSize = 100000000;
|
||||
UploadDirectory = string.Empty;
|
||||
UploadDirectory = Directory.GetCurrentDirectory();
|
||||
FileExtension = "enc";
|
||||
UrlLength = 5;
|
||||
DeleteKeyLength = 24;
|
||||
|
@ -18,7 +18,7 @@
|
||||
<add namespace="System.Web.Optimization" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="Teknik" />
|
||||
<add namespace="DanTup.Web" /></namespaces>
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user