diff options
author | Jakob Sack <mail@jakobsack.de> | 2011-03-02 00:16:43 +0100 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2011-03-02 00:16:43 +0100 |
commit | 015ab0eb6424bbde90f36a087326e769233ac577 (patch) | |
tree | 137ade738705e8f8898aaff33b4aa9acbb1822ac | |
parent | 9aad8b3a8657693370f2d8d62f0ce94ef750d000 (diff) | |
download | nextcloud-server-015ab0eb6424bbde90f36a087326e769233ac577.tar.gz nextcloud-server-015ab0eb6424bbde90f36a087326e769233ac577.zip |
Say Smarty to only use one compile directory. Makes setup somewhat easier.
-rw-r--r-- | admin/templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | files/templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | lib/template.php | 2 | ||||
-rw-r--r-- | log/templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | settings/templates/_c/.gitkeep | 0 |
5 files changed, 1 insertions, 1 deletions
diff --git a/admin/templates/_c/.gitkeep b/admin/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 --- a/admin/templates/_c/.gitkeep +++ /dev/null diff --git a/files/templates/_c/.gitkeep b/files/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 --- a/files/templates/_c/.gitkeep +++ /dev/null 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 --- a/log/templates/_c/.gitkeep +++ /dev/null diff --git a/settings/templates/_c/.gitkeep b/settings/templates/_c/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 --- a/settings/templates/_c/.gitkeep +++ /dev/null |