summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-24 11:51:21 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-24 11:51:21 +0200
commit75fd6d4fde4cd6d9eda5e6b944739f1f2798447d (patch)
tree2d04d64bcdeb2ea13de68b9606307ebf799aeb87 /core/templates/layout.base.php
parent2622839fcfb360eafc6d670885ca265ebed1433c (diff)
downloadnextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.tar.gz
nextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.zip
initialize OC_Defaults in template constructorX
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 2399512eacd..ea10c3042b5 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -6,11 +6,9 @@
<!--[if gt IE 9]><html class="ng-csp ie"><![endif]-->
<!--[if !IE]><!--><html class="ng-csp"><!--<![endif]-->
- <?php $defaults = new OC_Defaults(); // initialize themable default strings and urls ?>
-
<head>
<title>
- <?php p($defaults->getTitle()); ?>
+ <?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />