summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2011-03-02 00:16:43 +0100
committerJakob Sack <mail@jakobsack.de>2011-03-02 00:16:43 +0100
commit015ab0eb6424bbde90f36a087326e769233ac577 (patch)
tree137ade738705e8f8898aaff33b4aa9acbb1822ac /lib/template.php
parent9aad8b3a8657693370f2d8d62f0ce94ef750d000 (diff)
downloadnextcloud-server-015ab0eb6424bbde90f36a087326e769233ac577.tar.gz
nextcloud-server-015ab0eb6424bbde90f36a087326e769233ac577.zip
Say Smarty to only use one compile directory. Makes setup somewhat easier.
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php
index 0541d55b124..0973d60c72d 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -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");