From 00d8709ae8edcac15ca7cfb01ffb60e8165f9132 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 1 Jan 2017 05:49:02 +0100 Subject: Fix relative paths --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 7bf9b169..85e5b4da 100644 --- a/public/index.php +++ b/public/index.php @@ -162,7 +162,7 @@ if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (i $event_config = EventConfig(); -echo template_render('../templates/layout.html', [ +echo template_render(__DIR__ . '/../templates/layout.html', [ 'theme' => isset($user) ? $user['color'] : $default_theme, 'title' => $title, 'atom_link' => ($page == 'news' || $page == 'user_meetings') ? '' : '', -- cgit v1.2.3-54-g00ecf