From 737a70fad44b9b372c8739e025cacee3ad0d91b4 Mon Sep 17 00:00:00 2001 From: TimZ99 Date: Tue, 28 Aug 2018 15:35:21 +0200 Subject: [PATCH] Moved theme out of module is defined check --- src/includes/psmconfig.inc.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/includes/psmconfig.inc.php b/src/includes/psmconfig.inc.php index f7983d3b..0b87d7d2 100755 --- a/src/includes/psmconfig.inc.php +++ b/src/includes/psmconfig.inc.php @@ -118,16 +118,16 @@ define('PSM_TELEGRAM_GET_ID_URL', 'https://telegram.me/cid_bot'); */ //define('PSM_BASE_URL', null); -if (!defined('PSM_MODULE_DEFAULT')) { - /** - * Default theme if none is selected - */ - if (!defined('PSM_THEME')) { - define('PSM_THEME', 'default'); - } +/** + * Default theme if none is selected + */ +if (!defined('PSM_THEME')) { + define('PSM_THEME', 'default'); +} - /** - * Default module (if none given or invalid one) - */ +/** + * Default module (if none given or invalid one) + */ +if (!defined('PSM_MODULE_DEFAULT')) { define('PSM_MODULE_DEFAULT', 'server_status'); }