[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_admin/postinstall/ -> htaccesssvg.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_admin
   6   *
   7   * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   *
  10   * This file contains post-installation message handling for notifying users of a change
  11   * in the default .htaccess file regarding hardening against XSS in SVG's
  12   */
  13  
  14  // phpcs:disable PSR1.Files.SideEffects
  15  \defined('_JEXEC') or die;
  16  // phpcs:enable PSR1.Files.SideEffects
  17  
  18  /**
  19   * Notifies users of a change in the default .htaccess file regarding hardening against XSS in SVG's
  20   *
  21   * This check returns true regardless of condition.
  22   *
  23   * @return  boolean
  24   *
  25   * @since   3.9.21
  26   */
  27  function admin_postinstall_htaccesssvg_condition()
  28  {
  29      return true;
  30  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer