[Pkg-owncloud-commits] [owncloud] 51/258: append .html since componets always use html files
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 2a859f84a824faaa25a76883ed4c730040628669
Author: Bernhard Posselt <dev at bernhard-posselt.com>
Date: Mon Sep 8 21:37:18 2014 +0200
append .html since componets always use html files
---
lib/private/template/functions.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php
index 364ec7c..8675209 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));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list