Changing /python to /macroScripts

This commit is contained in:
hartvig
2011-02-28 13:03:09 -01:00
parent 5a5aafd610
commit 23605b5a4b
11 changed files with 29 additions and 16 deletions

View File

@@ -43,7 +43,7 @@ namespace umbraco.scripting
Engine.AddToPath(path);
// Add umbracos python folder to python's path
path = IOHelper.MapPath(SystemDirectories.Python);
path = IOHelper.MapPath(SystemDirectories.MacroScripts);
Engine.AddToPath(path);
// execute the site.py to do all the initial stuff
@@ -58,7 +58,7 @@ namespace umbraco.scripting
private static void loadScripts()
{
scripts = new System.Collections.Hashtable();
string path = IOHelper.MapPath(SystemDirectories.Python);
string path = IOHelper.MapPath(SystemDirectories.MacroScripts);
System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(path);
foreach (System.IO.FileInfo f in dir.GetFiles("*.py"))
{