From aae00836fb51996225cccb8ce13d7e9dda302941 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 23 Jan 2012 12:51:25 +0000 Subject: [PATCH] // Add mention "This file will be removed in 1.6" in old root controllers --- address.php | 4 ++++ addresses.php | 4 ++++ attachment.php | 4 ++++ authentication.php | 4 ++++ best-sales.php | 4 ++++ cart.php | 4 ++++ category.php | 4 ++++ changecurrency.php | 4 ++++ cms.php | 4 ++++ contact-form.php | 4 ++++ discount.php | 4 ++++ footer.php | 4 ++++ get-file.php | 4 ++++ guest-tracking.php | 4 ++++ header.php | 4 ++++ history.php | 4 ++++ identity.php | 4 ++++ init.php | 4 ++++ manufacturer.php | 4 ++++ my-account.php | 4 ++++ new-products.php | 4 ++++ order-confirmation.php | 4 ++++ order-detail.php | 4 ++++ order-follow.php | 4 ++++ order-opc.php | 4 ++++ order-return.php | 4 ++++ order-slip.php | 4 ++++ order.php | 4 ++++ password.php | 4 ++++ pdf-invoice.php | 4 ++++ pdf-order-return.php | 4 ++++ pdf-order-slip.php | 4 ++++ prices-drop.php | 4 ++++ product-sort.php | 4 ++++ product.php | 4 ++++ products-comparison.php | 4 ++++ search.php | 4 ++++ sitemap.php | 4 ++++ statistics.php | 4 ++++ stores.php | 4 ++++ supplier.php | 4 ++++ 41 files changed, 164 insertions(+) diff --git a/address.php b/address.php index 443051793..bac22d4aa 100644 --- a/address.php +++ b/address.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/addresses.php b/addresses.php index 42ae3dc29..4e5a943ea 100644 --- a/addresses.php +++ b/addresses.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/attachment.php b/attachment.php index d2fedb319..c771a96ed 100644 --- a/attachment.php +++ b/attachment.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/authentication.php b/authentication.php index 644e4d22e..9f655f9f1 100644 --- a/authentication.php +++ b/authentication.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/best-sales.php b/best-sales.php index cab5d8fb3..b953882a7 100644 --- a/best-sales.php +++ b/best-sales.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/cart.php b/cart.php index 42a809868..9ec1d2c0b 100644 --- a/cart.php +++ b/cart.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/category.php b/category.php index 15b620d10..88f0521ad 100644 --- a/category.php +++ b/category.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/changecurrency.php b/changecurrency.php index 226c5aa95..f9efcbb46 100644 --- a/changecurrency.php +++ b/changecurrency.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/cms.php b/cms.php index e875f5e0c..2d53ee34f 100644 --- a/cms.php +++ b/cms.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/contact-form.php b/contact-form.php index 433d25eb2..da840b597 100644 --- a/contact-form.php +++ b/contact-form.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/discount.php b/discount.php index 8ca74a69e..bfc4522d9 100644 --- a/discount.php +++ b/discount.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/footer.php b/footer.php index 45cde2fc7..7cd96f061 100644 --- a/footer.php +++ b/footer.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + if (isset(Context::getContext()->controller)) $controller = Context::getContext()->controller; else diff --git a/get-file.php b/get-file.php index 222eca507..318a8e50b 100644 --- a/get-file.php +++ b/get-file.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/guest-tracking.php b/guest-tracking.php index 1b3d2d718..c3e7ee831 100644 --- a/guest-tracking.php +++ b/guest-tracking.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/header.php b/header.php index 764989336..72a937b70 100644 --- a/header.php +++ b/header.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + if (isset(Context::getContext()->controller)) $controller = Context::getContext()->controller; else diff --git a/history.php b/history.php index 750ca81d8..b3e7f1d02 100644 --- a/history.php +++ b/history.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/identity.php b/identity.php index 11b40f628..fb745b0c5 100644 --- a/identity.php +++ b/identity.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/init.php b/init.php index f5aa7ccdb..2c3928423 100644 --- a/init.php +++ b/init.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + if (isset(Context::getContext()->controller)) $controller = Context::getContext()->controller; else diff --git a/manufacturer.php b/manufacturer.php index 773563f16..a5db75989 100644 --- a/manufacturer.php +++ b/manufacturer.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/my-account.php b/my-account.php index 316c4554b..61fa8ec07 100644 --- a/my-account.php +++ b/my-account.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/new-products.php b/new-products.php index 3aecf38a3..7bc3a350d 100644 --- a/new-products.php +++ b/new-products.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-confirmation.php b/order-confirmation.php index d091f3b6c..8500c3f0e 100644 --- a/order-confirmation.php +++ b/order-confirmation.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-detail.php b/order-detail.php index dd45174a5..e5cc0420d 100644 --- a/order-detail.php +++ b/order-detail.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-follow.php b/order-follow.php index e5c12eb05..f0cc5bb42 100644 --- a/order-follow.php +++ b/order-follow.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-opc.php b/order-opc.php index 9141c849a..76920d93b 100755 --- a/order-opc.php +++ b/order-opc.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-return.php b/order-return.php index 43276d5df..65a853e1d 100644 --- a/order-return.php +++ b/order-return.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order-slip.php b/order-slip.php index 546ec6290..e9fa2e2bf 100644 --- a/order-slip.php +++ b/order-slip.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/order.php b/order.php index 0abcbe94d..0f152d2a3 100644 --- a/order.php +++ b/order.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/password.php b/password.php index a7f2acf36..480c02ef6 100644 --- a/password.php +++ b/password.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/pdf-invoice.php b/pdf-invoice.php index b6b728b98..5a3a62923 100644 --- a/pdf-invoice.php +++ b/pdf-invoice.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + include(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/pdf-order-return.php b/pdf-order-return.php index 8074d78e5..7c9a91a56 100644 --- a/pdf-order-return.php +++ b/pdf-order-return.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + include(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/pdf-order-slip.php b/pdf-order-slip.php index b4ac980ba..916e47cc9 100644 --- a/pdf-order-slip.php +++ b/pdf-order-slip.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + include(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/prices-drop.php b/prices-drop.php index 9145c4c6d..ba43e22e7 100644 --- a/prices-drop.php +++ b/prices-drop.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/product-sort.php b/product-sort.php index 508951665..a3f53f561 100644 --- a/product-sort.php +++ b/product-sort.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/product.php b/product.php index 2427b3cc4..a1a1263f7 100644 --- a/product.php +++ b/product.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/products-comparison.php b/products-comparison.php index a6f92491a..cb3cf9875 100644 --- a/products-comparison.php +++ b/products-comparison.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/search.php b/search.php index 765bb7ace..0dbebaeb0 100644 --- a/search.php +++ b/search.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/sitemap.php b/sitemap.php index d661cb8d2..8706e00fb 100644 --- a/sitemap.php +++ b/sitemap.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/statistics.php b/statistics.php index 12f6e8062..e217199f2 100644 --- a/statistics.php +++ b/statistics.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/stores.php b/stores.php index 83fcee645..e031aaf5b 100644 --- a/stores.php +++ b/stores.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated(); diff --git a/supplier.php b/supplier.php index 095ab95d9..2e54012ee 100644 --- a/supplier.php +++ b/supplier.php @@ -25,6 +25,10 @@ * International Registered Trademark & Property of PrestaShop SA */ +/** + * This file will be removed in 1.6 + */ + require(dirname(__FILE__).'/config/config.inc.php'); Tools::displayFileAsDeprecated();