Remove deprecated P3P header and update Powered by Header

This commit is contained in:
Abhishek Kumar
2023-08-11 11:50:43 +05:30
parent 22cbc6026f
commit c33a8096b1
2 changed files with 2 additions and 4 deletions

View File

@@ -1104,9 +1104,7 @@ class FrontControllerCore extends Controller
*/
public function initHeader()
{
/** @see P3P Policies (http://www.w3.org/TR/2002/REC-P3P-20020416/#compact_policies) */
header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
header('Powered-By: PrestaShop');
header('Powered-By: QloApps');
// Hooks are voluntary out the initialize array (need those variables already assigned)
$this->context->smarty->assign(array(

View File

@@ -468,7 +468,7 @@ class AdminMetaControllerCore extends AdminController
));
// PS Comments
fwrite($write_fd, "# robots.txt automaticaly generated by qloapps e-commerce open-source solution\n");
fwrite($write_fd, "# robots.txt automaticaly generated by QloApps open-source hotel reservation system and a booking engine solution.\n");
fwrite($write_fd, "# https://www.qloapps.com - https://forums.qloapps.com/\n");
fwrite($write_fd, "# This file is to prevent the crawling and indexing of certain parts\n");
fwrite($write_fd, "# of your site by web crawlers and spiders run by sites like Yahoo!\n");