CoreFiles by mySites.guru
addnosniff.php27 lines, 710 bytes, from Joomla_3.9.13-Stable-Full_Package.zip
Raw History Compare with 3.9.12
md5
62f0414d17eab8f581d248183c774b7f
sha1
9e6b3fd48f88404ee8f5d2451c0f34695b35f652
sha256
a2760d2c7f41d8bd34fffab2052bbe13df62993a7cc8bef37aed53ee6118c6e0
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   Copyright (C) 2005 - 2019 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 26 releases, Joomla 3.9.3 to 4.0.0-alpha12. See them all, or every version of this file.