Set content type if spider is there
[mailer.git] / confirm.php
index 0ef080984b1fcc6dc16a3390f1599a2ab4e04624..4f30d2f2ebe1877c27ec78f0f2a2729c8272450c 100644 (file)
@@ -46,6 +46,9 @@ $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';