TW-1873: Specify different path to extensions/hooks directory

- Thanks to Eli.
This commit is contained in:
Paul Beckingham
2016-12-19 09:03:27 -05:00
parent 3c879e868a
commit 44522b11bc
6 changed files with 35 additions and 6 deletions

View File

@@ -532,7 +532,11 @@ void Config::createDefaultData (const std::string& data)
d.create ();
d += "hooks";
if (has ("hooks.location"))
d = Directory (get ("hooks.location"));
else
d += "hooks";
d.create ();
}
}