Ticket #709: FCK-ResolveUrl.patch
File FCK-ResolveUrl.patch, 1.1 KB (added by , 18 years ago) |
---|
-
FileWorkerBase.cs
63 63 if ( ! sUserFilesPath.EndsWith("/") ) 64 64 sUserFilesPath += "/" ; 65 65 } 66 return sUserFilesPath;66 return ResolveUrl(sUserFilesPath); 67 67 } 68 68 } 69 69 -
FCKeditor.cs
94 94 if ( o == null ) 95 95 o = System.Configuration.ConfigurationSettings.AppSettings["FCKeditor:BasePath"] ; 96 96 97 return ( o == null ? "/FCKeditor/" : (string)o) ;97 return ResolveUrl(( o == null ? "~/FCKeditor/" : (string)o )) ; 98 98 } 99 99 set { ViewState["BasePath"] = value ; } 100 100 } … … 133 133 [ Category("Configurations") ] 134 134 public string CustomConfigurationsPath 135 135 { 136 set { this.Config["CustomConfigurationsPath"] = value; }136 set { this.Config["CustomConfigurationsPath"] = ResolveUrl(value) ; } 137 137 } 138 138 139 139 [ Category("Configurations") ]