WORK IN PROGRESS, GET THE STABLE SOURCE FROM THE DOWNLOADS TAB

Virtual Directory support, DLR compatible script engine

[TFS Changeset #63625]
This commit is contained in:
PerPloug
2010-01-28 12:51:46 +00:00
parent 795f628125
commit 5f92006bb6
251 changed files with 4770 additions and 1659 deletions

View File

@@ -3,6 +3,7 @@ using System.Drawing;
using System.IO;
using System.Web;
using umbraco.editorControls.imagecropper;
using umbraco.IO;
namespace umbraco.editorControls.imagecropper
{
@@ -20,7 +21,7 @@ namespace umbraco.editorControls.imagecropper
public ImageInfo(string relativePath)
{
RelativePath = relativePath;
Path = HttpContext.Current.Server.MapPath(relativePath);
Path = IOHelper.MapPath(relativePath);
if (File.Exists(Path))
{
string fileName = Path.Substring(Path.LastIndexOf('\\') + 1);