From 93324d4ef4672097bf59c19b42b035849e4d9352 Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Tue, 26 Jun 2012 08:03:08 +0000 Subject: [PATCH] [-] PDF : Bug Fixed #PSCFV-2912 - .htaccess & index.php in the PDF folder --- pdf/.htaccess | 3 +++ pdf/index.php | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100755 pdf/.htaccess create mode 100755 pdf/index.php diff --git a/pdf/.htaccess b/pdf/.htaccess new file mode 100755 index 000000000..3caa91589 --- /dev/null +++ b/pdf/.htaccess @@ -0,0 +1,3 @@ + +Deny from all + \ No newline at end of file diff --git a/pdf/index.php b/pdf/index.php new file mode 100755 index 000000000..d6827aa9a --- /dev/null +++ b/pdf/index.php @@ -0,0 +1,36 @@ + +* @copyright 2007-2012 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); + +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + +header("Location: ../"); +exit;