Skip to content
Snippets Groups Projects
Commit 015ab0eb authored by Jakob Sack's avatar Jakob Sack
Browse files

Say Smarty to only use one compile directory. Makes setup somewhat easier.

parent 9aad8b3a
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ class OC_TEMPLATE{
$smarty->left_delimiter = "[%";
$smarty->right_delimiter = "%]";
$smarty->template_dir = $template_dir;
$smarty->compile_dir = "$template_dir/_c";
$smarty->compile_dir = "$SERVERROOT/templates/_c";
$smarty->registerPlugin( "function", "linkto", "oc_template_helper_link_to");
$smarty->registerPlugin( "function", "imagepath", "oc_template_helper_image_path");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment