CoreFiles by mySites.guru
addnosniff.php27 lines, 697 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
6726c56139cbb7b3abaa020c95341380
sha1
b490b4de5f7e4b7bf9b6eb0d85a4d8c0d069f4c8
sha256
7d3a5f8dbc83fff0c68bbe7317504d227594663230369836cabf282213887d8b
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @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 76 releases, Joomla 3.10.0-alpha2 to 4.2.0-beta2. See them all, or every version of this file.