projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set content type if spider is there
[mailer.git]
/
confirm.php
diff --git
a/confirm.php
b/confirm.php
index 0ef080984b1fcc6dc16a3390f1599a2ab4e04624..4f30d2f2ebe1877c27ec78f0f2a2729c8272450c 100644
(file)
--- a/
confirm.php
+++ b/
confirm.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 hash provided by default
$URL = 'modules.php?module=index';