HTTP status codes added for missing/locked modules, fixed double-logging of debug...
[mailer.git] / confirm.php
index 0ef080984b1fcc6dc16a3390f1599a2ab4e04624..a7c797de4773ade6d7872506de4bf6d8ee9986db 100644 (file)
@@ -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 *
@@ -46,13 +47,16 @@ $GLOBALS['output_mode'] = -1;
 // Load the required file(s)
 require('inc/config-global.php');
 
+// Set content type for e.g. search engines
+setContentType('text/html');
+
 // No hash provided by default
 $URL = 'modules.php?module=index';
 
 // Is the hash there?
-if (isGetRequestElementSet('hash')) {
+if (isGetRequestParameterSet('hash')) {
        // We have an refid here. So we simply add it
-       $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestElement('hash');
+       $URL = 'modules.php?module=index&what=confirm&hash=' . getRequestParameter('hash');
 } // END - if
 
 // Load the URL