From 4c288e957ec4340af93f980c65eecea6d3a789f4 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Sep 2016 11:28:42 +0200 Subject: prohibit inline control structures on includes and index --- public/index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index 7915e8a6..51c8e7eb 100644 --- a/public/index.php +++ b/public/index.php @@ -1,7 +1,7 @@ isset($user) ? $user['color'] : $default_theme, 'title' => $title, 'atom_link' => ($p == 'news' || $p == 'user_meetings') ? '' : '', @@ -171,6 +173,6 @@ echo template_render('../templates/layout.html', array( 'contact_email' => $contact_email, 'locale' => locale(), 'event_info' => EventConfig_info($event_config) . '
' -)); +]); ?> -- cgit v1.2.3-54-g00ecf