Commit 8c1e5567 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fix bug 689, you can now install templates that are in the dataroot

parent 87e69f12
......@@ -255,7 +255,7 @@ function template_locate($templatename, $fetchdb=true) {
$template['cacheddata'] = unserialize($dbstuff->cacheddata);
$template['category'] = $dbstuff->category;
}
$template['location'] = get_config('datarootroot') . 'templates/' . $templatename . '/';
$template['location'] = get_config('dataroot') . 'templates/' . $templatename . '/';
return $template;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment