[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
backup
/
alajaji
/
plugins
/
system
/
p3p
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 p3p.php
904 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: p3p.php
<?php /** * @package Joomla.Plugin * @subpackage System.p3p * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Joomla! P3P Header Plugin. * * @since 1.6 * @deprecate 4.0 Obsolete */ class PlgSystemP3p extends JPlugin { /** * After initialise. * * @return void * * @since 1.6 * @deprecate 4.0 Obsolete */ public function onAfterInitialise() { // Get the header. $header = $this->params->get('header', 'NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'); $header = trim($header); // Bail out on empty header (why would anyone do that?!). if (empty($header)) { return; } // Replace any existing P3P headers in the response. JFactory::getApplication()->setHeader('P3P', 'CP="' . $header . '"', true); } }