Quellcode durchsuchen

Added better default directories

tags/2.0.3
Teknikode vor 4 Jahren
Ursprung
Commit
341cc4db5e

+ 2
- 1
Teknik/Configuration/PodcastConfig.cs Datei anzeigen

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

+ 2
- 1
Teknik/Configuration/UploadConfig.cs Datei anzeigen

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

+ 1
- 1
Teknik/Views/Web.config Datei anzeigen

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


Laden…
Abbrechen
Speichern