moved Packages folder to secure location

This commit is contained in:
Shaun Walker
2021-05-27 21:39:43 -04:00
parent a144a5c432
commit 4108c07862
14 changed files with 25 additions and 13 deletions

View File

@ -38,7 +38,7 @@ namespace Oqtane.Infrastructure
bool install = false;
string binPath = Path.GetDirectoryName(Assembly.GetEntryAssembly()?.Location);
string sourceFolder = Path.Combine(webRootPath, "Packages");
string sourceFolder = Path.Combine(contentRootPath, "Packages");
if (!Directory.Exists(sourceFolder))
{
Directory.CreateDirectory(sourceFolder);