- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
- require($INC);
-} elseif (!IS_MEMBER()) {
- redirectToUrl('modules.php?module=index');
-} elseif ((!EXT_IS_ACTIVE('sponsor')) && (!IS_ADMIN())) {
- addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveMessage('sponsor'));
- return;