X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=admin.php;h=b2c5768b7e085066cf6c8974c2e8e08d3a83470e;hp=38ce36ecf4fc566c32b834c5623f3f0bbb91c9d6;hb=1a9c4d5736b58e8d1da657ba2ff3da9f0777300c;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/admin.php b/admin.php index 38ce36ecf4..b2c5768b7e 100644 --- a/admin.php +++ b/admin.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'); + // Is the admin logged-in and no sql_patches installed? if ((isAdmin()) && (!isExtensionActive('sql_patches'))) { // Extension 'sql_patches' is missing!