// Load the required file(s)
require ("inc/config.php");
+// Is the "bonus" extension active?
+if (!EXT_IS_ACTIVE("bonus")) {
+ // Redirect to index
+ LOAD_URL("modules.php?module=index&msg=".CODE_EXTENSION_PROBLEM."&ext=bonus");
+} // END - if
+
// List only rankings when script is installed
-if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')))
+if (isBooleanConstantAndTrue('mxchange_installed'))
{
// Include header
include(PATH."inc/header.php");