Unneccessary div-s removed
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index a36ed185285f60f946f4f02970db5fc8f0dd6f33..0ee71430c87d7f125de81ccfb82e88168c6bc38f 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -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 refid by default
 $URL = 'index.php';