summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2011-08-06 23:31:38 +0200
committerFrank Karlitschek <karlitschek@kde.org>2011-08-06 23:31:38 +0200
commit1dc3cb67fa2420703c1e07125d01dddc4dce0356 (patch)
tree46599893d78115aa0394c8f15842722fc3c772c5 /core
parenta689fa18dfb66226527499ea707b2ff517561851 (diff)
downloadnextcloud-server-1dc3cb67fa2420703c1e07125d01dddc4dce0356.tar.gz
nextcloud-server-1dc3cb67fa2420703c1e07125d01dddc4dce0356.zip
more improved error reporting
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.guest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 5655a64d8da..0b6189ef1c9 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -4,13 +4,13 @@
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
- <?php foreach($_['cssfiles'] as $cssfile): ?>
+ <?php if(isset($_['cssfiles'])) foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
<script type="text/javascript">
var oc_webroot = '<?php global $WEBROOT; echo $WEBROOT; ?>';
// </script>
- <?php foreach($_['jsfiles'] as $jsfile): ?>
+ <?php if(isset($_['jsfiles'])) foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>