From c263f651f30ea80d56d42e7b392af81e72e84752 Mon Sep 17 00:00:00 2001 From: Julien Rouhaud Date: Fri, 17 Aug 2012 11:00:27 +0200 Subject: [PATCH] Fix when no theme set in config file --- libraries/lib.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/lib.inc.php b/libraries/lib.inc.php index 1119fc23..568ca991 100644 --- a/libraries/lib.inc.php +++ b/libraries/lib.inc.php @@ -95,6 +95,8 @@ /* select the theme */ unset($_theme); + if (!isset($conf['theme'])) + $conf['theme'] = 'default'; // 1. Check for the theme from a request var if (isset($_REQUEST['theme']) && is_file("./themes/{$_REQUEST['theme']}/global.css")) { -- 2.39.5