This commit is contained in:
starfighter83
2011-03-01 07:24:32 -01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ namespace umbraco.MacroEngines.Iron
vars.Add(prop.Key, prop.Value);
}
mse.ScriptVariables = vars;
return mse.ExecuteFile(IOHelper.MapPath(SystemDirectories.Python + "/" + macro.ScriptName));
return mse.ExecuteFile(IOHelper.MapPath(SystemDirectories.MacroScripts + "/" + macro.ScriptName));
}
#endregion

View File

@@ -40,7 +40,7 @@ namespace umbraco.MacroEngines.Legacy
}
mse.ScriptVariables = vars;
return mse.ExecuteFile(IOHelper.MapPath(SystemDirectories.Python + "/" + macro.ScriptName));
return mse.ExecuteFile(IOHelper.MapPath(SystemDirectories.MacroScripts + "/" + macro.ScriptName));
}
}
}