Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
fixed current directory method in template class
Browse files Browse the repository at this point in the history
  • Loading branch information
rudism committed Sep 20, 2016
1 parent 6f04123 commit 52c8768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ficdown.Parser/Render/Template.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static string Styles

private static string GetFileContents(string fname)
{
var path = Path.Combine(Environment.CurrentDirectory, string.Format("Render/{0}", fname));
var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, string.Format("Render/{0}", fname));
return File.ReadAllText(path);
}
}
Expand Down

0 comments on commit 52c8768

Please sign in to comment.