summaryrefslogtreecommitdiffstats
path: root/templates/index.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-22 15:54:21 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-22 15:54:21 +0200
commit2a903582505fbd54a9a2138bcddc116c5e35bfbe (patch)
tree74d8fba63939d14b44121cc33769f46be6c4b647 /templates/index.php
parentff4abd968f1baddd1255b9aa4d4945a003d276cc (diff)
version bump
Diffstat (limited to 'templates/index.php')
-rw-r--r--templates/index.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php
index a85f23ca7..9eb870666 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -1,4 +1,13 @@
<?php
+
+// backports
+if (version_compare(implode('.', \OCP\Util::getVersion()), '7.8', '<=')) {
+ if (!function_exists('style')) {
+ require_once __DIR__ . '/7.php';
+ }
+ style('news', '7');
+}
+
script('news', [
'vendor/es6-shim/es6-shim.min',
'vendor/angular/angular.min',
@@ -16,6 +25,8 @@ style('news', [
'mobile',
'custom'
]);
+
+
?>