From: Jakob Sack Date: Tue, 1 Mar 2011 23:16:43 +0000 (+0100) Subject: Say Smarty to only use one compile directory. Makes setup somewhat easier. X-Git-Tag: v3.0~267^2~558^2~188 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=015ab0eb6424bbde90f36a087326e769233ac577;p=nextcloud-server.git Say Smarty to only use one compile directory. Makes setup somewhat easier. --- diff --git a/admin/templates/_c/.gitkeep b/admin/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/files/templates/_c/.gitkeep b/files/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 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"); diff --git a/log/templates/_c/.gitkeep b/log/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/settings/templates/_c/.gitkeep b/settings/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000