]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-start_surfbar.php
mailer project continued:
[mailer.git] / inc / modules / member / what-start_surfbar.php
index 4ea60d771b6414e38dee8fa66e3c75efad1d1c4d..8f037b6d562d7aed63b9d658ac554e339265e32e 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 }
@@ -52,14 +52,14 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 
 // Prepare content for output
 $content = array(
-       'surfbar_total_urls'    => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0)
+       'surfbar_total_urls'    => getSurfbarTotalUrls('ACTIVE', 0)
 );
 
 // In dynamic mode we need some more data
 if (getSurfbarPaymentModel() == 'DYNAMIC') {
        // Prepare content for dynamic surfbar
        $content = array(
-               'surfbar_total_urls'  => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0),
+               'surfbar_total_urls'  => getSurfbarTotalUrls('ACTIVE', 0),
        );
 } // END - if