CoreFiles by mySites.guru
addnosniff.php27 lines, 710 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
24cc3ee806d16525a63a06f8ce1b5231
sha1
767e4759bd064e8fb4acf5e091aeee0acbc28631
sha256
ffa8199b0f24e7fdba59d422c3c5f84de6a0d82dd5a81e47b124987259417121
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 *
 * This file contains post-installation message handling for notifying users of a change
 * in the default .htaccess and web.config files.
 */

defined('_JEXEC') or die;

/**
 * Notifies users of the add the nosniff headers by applying the changes from the default .htaccess or web.config file
 *
 * This check returns true regardless of condition.
 *
 * @return  boolean
 *
 * @since   3.4
 */
function admin_postinstall_addnosniff_condition()
{
	return true;
}

The same content is in 35 releases, Joomla 3.9.15-rc to 4.0.0-beta5. See them all, or every version of this file.