summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-21 13:28:23 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-21 16:09:13 +0200
commitda0bdd1391d86046662e3e3cee046a48ffb58d22 (patch)
treedb9dc892d6bf39c20eba2760e924424cacb42312 /lib/private/TemplateLayout.php
parent58debbe42c16ee4ab7d36ffc91a53ae953c09021 (diff)
downloadnextcloud-server-da0bdd1391d86046662e3e3cee046a48ffb58d22.tar.gz
nextcloud-server-da0bdd1391d86046662e3e3cee046a48ffb58d22.zip
Design structure fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 1efdf8b441c..fc2e5798e1c 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -42,6 +42,7 @@ use OC\Template\JSCombiner;
use OC\Template\JSConfigHelper;
use OC\Template\SCSSCacher;
use OCP\Defaults;
+use OC\AppFramework\Http\Request;
class TemplateLayout extends \OC_Template {
@@ -61,6 +62,9 @@ class TemplateLayout extends \OC_Template {
// yes - should be injected ....
$this->config = \OC::$server->getConfig();
+ if(\OCP\Util::isIE()) {
+ \OC_Util::addStyle('ie');
+ }
// Decide which page we show
if($renderAs == 'user') {