fixed current directory method in template class
This commit is contained in:
parent
6f04123f3f
commit
52c8768ac2
|
@ -22,7 +22,7 @@ namespace Ficdown.Parser.Render
|
||||||
|
|
||||||
private static string GetFileContents(string fname)
|
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);
|
return File.ReadAllText(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue