Remove deprecated P3P header and update Powered by Header
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user