|
|
@@ -46,18 +46,18 @@ namespace System.Web.UI
|
|
|
string physicalPath = context.Request.MapPath (virtualPath);
|
|
|
string[] skin_files = Directory.GetFiles (physicalPath, "*.skin");
|
|
|
|
|
|
- PageThemeParser ptp = new PageThemeParser (virtualPath, context);
|
|
|
+ PageThemeParser ptp = new PageThemeParser (physicalPath, context);
|
|
|
|
|
|
string[] css_files = Directory.GetFiles (physicalPath, "*.css");
|
|
|
string[] css_urls = new string[css_files.Length];
|
|
|
for (int i = 0; i < css_files.Length; i++)
|
|
|
- css_urls[i] = UrlUtils.Combine (virtualPath, Path.GetFileName (css_files[i]));
|
|
|
+ css_urls [i] = UrlUtils.Combine (physicalPath, Path.GetFileName (css_files [i]));
|
|
|
ptp.LinkedStyleSheets = css_urls;
|
|
|
|
|
|
ptp.RootBuilder = new RootBuilder ();
|
|
|
|
|
|
for (int i = 0; i < skin_files.Length; i ++) {
|
|
|
- string skin_file_url = UrlUtils.Combine (virtualPath, Path.GetFileName (skin_files[i]));
|
|
|
+ string skin_file_url = UrlUtils.Combine (physicalPath, Path.GetFileName (skin_files [i]));
|
|
|
PageThemeFileParser ptfp = new PageThemeFileParser (skin_file_url,
|
|
|
skin_files[i],
|
|
|
context);
|