1
0
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:
Uncled1023 2016-01-25 20:54:53 -08:00
parent bf2d1a429b
commit 341cc4db5e
3 changed files with 5 additions and 3 deletions

View File

@ -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();
}
}
}

View File

@ -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;

View File

@ -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>