Final fix for double/missing constant
[mailer.git] / doubler.php
index 8c56144ccf589fb3c87e1e410d36067905e706f7..6f0517dbf0816d823adeee2cc9fd2e2f4517cf12 100644 (file)
@@ -48,6 +48,12 @@ $CSS = 0;
 // Load the required file(s)
 require ("inc/config.php");
 
+// Is the "doubler" extension active?
+if (!EXT_IS_ACTIVE("doubler")) {
+       // Redirect to index
+       LOAD_URL("modules.php?module=index&msg=".CODE_EXTENSION_PROBLEM."&ext=doubler");
+} // END - if
+
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Probe for referral ID