aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 0ef4ec197cf..6c7cec90740 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -242,7 +242,7 @@ class TemplateLayout extends \OC_Template {
foreach ($jsFiles as $info) {
$web = $info[1];
$file = $info[2];
- $this->append('jsfiles', $web.'/'.$file . $this->getVersionHashSuffix());
+ $this->append('jsfiles', $web . '/' . $file . $this->getVersionHashSuffix());
}
try {
@@ -275,14 +275,14 @@ class TemplateLayout extends \OC_Template {
$file = $info[2];
if (str_ends_with($file, 'print.css')) {
- $this->append('printcssfiles', $web.'/'.$file . $this->getVersionHashSuffix());
+ $this->append('printcssfiles', $web . '/' . $file . $this->getVersionHashSuffix());
} else {
$suffix = $this->getVersionHashSuffix($web, $file);
if (!str_contains($file, '?v=')) {
- $this->append('cssfiles', $web.'/'.$file . $suffix);
+ $this->append('cssfiles', $web . '/' . $file . $suffix);
} else {
- $this->append('cssfiles', $web.'/'.$file . '-' . substr($suffix, 3));
+ $this->append('cssfiles', $web . '/' . $file . '-' . substr($suffix, 3));
}
}
}