X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=ref.php;h=6fd272a009afc08193a1ee0f3e968911b1235d38;hb=7e17864b7d07fb5123b1b1d68f83db28ea5394ef;hp=0ee71430c87d7f125de81ccfb82e88168c6bc38f;hpb=02a212e4758d0ee6cd970c4ea9e51ca603bd3b52;p=mailer.git diff --git a/ref.php b/ref.php index 0ee71430c8..6fd272a009 100644 --- a/ref.php +++ b/ref.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -47,12 +48,12 @@ $GLOBALS['output_mode'] = -1; require('inc/config-global.php'); // Set content type for e.g. search engines -if (isSpider()) setContentType('text/html'); +setContentType('text/html'); // No refid by default -$URL = 'index.php'; +$URL = 'modules.php?module=index'; -if (determineReferalId() > 0) { +if (determineReferalId() != 0) { // Test if nickname or numeric id if (isExtensionActive('nickname')) { // Nickname in URL, so load the id @@ -90,7 +91,7 @@ if (determineReferalId() > 0) { break; case 'index': - $URL = 'index.php'; + $URL = 'modules.php?module=index'; break; } // END - switch } // END - if