require ("inc/config.php");
// Is the script installed?
-if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed'))) {
+if (isBooleanConstantAndTrue('mxchange_installed')) {
// Only logged in users may use this surfbar!
if (!IS_MEMBER()) {
// Redirect
LOAD_URL(URL."/modules.php?module=index");
} elseif (!EXT_IS_ACTIVE("surfbar")) {
// Surfbar deactivated
- LOAD_URL(URL."/modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM);
+ LOAD_URL(URL."/modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM."&ext=surfbar");
}
// Is there a check value?