Cookie code removed, rewritten, internal URLs are now relative (see LOAD_URL()),...
[mailer.git] / surfbar.php
index 68b6d387077b37f7b493fc662cce3bd9027f64aa..dfc8d8717527f630aecc9bb9db743a12999621c5 100644 (file)
@@ -54,10 +54,10 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Only logged in users may use this surfbar!
        if (!EXT_IS_ACTIVE("surfbar")) {
                // Surfbar deactivated
-               LOAD_URL(URL."/modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM."&ext=surfbar");
+               LOAD_URL("modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM."&ext=surfbar");
        } elseif (!IS_MEMBER()) {
                // Redirect
-               LOAD_URL(URL."/modules.php?module=index");
+               LOAD_URL("modules.php?module=index");
        }
 
        // Handle tasks on self-maintenance