U4-8966 Unable to uninstall Umbraco Forms - The relative virtual path 'bin/Umbraco.Forms.Core.dll' is not allowed here.
This commit is contained in:
@@ -20,6 +20,7 @@ using umbraco.cms.businesslogic.packager.repositories;
|
||||
using umbraco.cms.businesslogic.web;
|
||||
using umbraco.cms.presentation.Trees;
|
||||
using umbraco.presentation.developer.packages;
|
||||
using umbraco.Utils;
|
||||
using umbraco.webservices;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Configuration;
|
||||
@@ -212,6 +213,9 @@ namespace Umbraco.Web.Editors
|
||||
var file = IOHelper.FindFile(item);
|
||||
if (file != null)
|
||||
{
|
||||
if (file.StartsWith("/") == false)
|
||||
file = string.Format("/{0}", file);
|
||||
|
||||
var filePath = IOHelper.MapPath(file);
|
||||
if (File.Exists(filePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user