TW-1873: Specify different path to extensions/hooks directory
- Thanks to Eli.
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user