CoreFiles by mySites.guru
addnosniff.php28 lines, 676 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
574d4a1d1e4c2bd53d6ba46d5b9918ee
sha1
96ef4fedbc2755bce1536af0a4e41aa8b696b4a1
sha256
e4526e2c5de6a50eb2c45495f6b751855d29e33236df3cb4a1fc86655084440a
<?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.
 */



/**
 * 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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.