Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-08 23:37:18 +0400
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-09 21:40:39 +0400
commit2a859f84a824faaa25a76883ed4c730040628669 (patch)
tree0f592ea186f595d727dafc681041e3515dcf181b /lib/private/template
parent8869dcf1afb62ae34dcf6be6a852af18dff0ff40 (diff)
append .html since componets always use html files
Diffstat (limited to 'lib/private/template')
-rw-r--r--lib/private/template/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php
index 364ec7c8744..8675209b28f 100644
--- a/lib/private/template/functions.php
+++ b/lib/private/template/functions.php
@@ -47,7 +47,7 @@ function style($app, $file) {
* @param string $file the path relative to the app's component folder
*/
function component($app, $file) {
- $url = link_to($app, 'component/' . $file);
+ $url = link_to($app, 'component/' . $file . '.html');
OC_Util::addHeader('link', array('rel' => 'import', 'href' => $url));
}