Old template cache directory removed, SVN property set
[mailer.git] / confirm.php
index 0ef080984b1fcc6dc16a3390f1599a2ab4e04624..b4134087323c5c5118d136e9b6640269e49e4856 100644 (file)
@@ -46,13 +46,16 @@ $GLOBALS['output_mode'] = -1;
 // Load the required file(s)
 require('inc/config-global.php');
 
+// Set content type for e.g. search engines
+if (isSpider()) 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