summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cobbler/cobblerd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py
index 263c9d5..9724d83 100644
--- a/cobbler/cobblerd.py
+++ b/cobbler/cobblerd.py
@@ -125,7 +125,7 @@ class CobblerXMLRPCInterface:
return self.__get_specific(self.api.repos(),name)
def __get_for_koan(self,dir,name):
- path = os.path.join("/var/www/cobbler/", dir, name)
+ path = os.path.join(settings.webdir, dir, name)
if not os.path.exists(path):
return {}
fd = open(path)