require("inc/config.php");
// Is the "beg" extension active?
-if (!EXT_IS_ACTIVE("beg")) {
- // Redirect to index
- LOAD_URL("modules.php?module=index&msg=".constant('CODE_EXTENSION_PROBLEM')."&ext=beg");
-} // END - if
+REDIRCT_ON_UNINSTALLED_EXTENSION("beg");
// Is the script installed?
if (isBooleanConstantAndTrue('mxchange_installed')) {