diff --git a/.github/ISSUE_TEMPLATE/index.php b/.github/ISSUE_TEMPLATE/index.php new file mode 100644 index 000000000..dedd77e06 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/index.php @@ -0,0 +1,35 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + +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; diff --git a/.github/index.php b/.github/index.php new file mode 100644 index 000000000..dedd77e06 --- /dev/null +++ b/.github/index.php @@ -0,0 +1,35 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + +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; diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 000000000..5a3524adb --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,21 @@ +name: PHP tests +on: [push, pull_request] +jobs: + build: + strategy: + matrix: + php-versions: ['5.6', '7.1', '7.2','7.4'] + runs-on: ubuntu-latest + name: PHP Unit + steps: + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-versions }} + extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv, ext-zip + - uses: actions/checkout@v1 + with: + fetch-depth: 0 + + - run: composer install --prefer-dist + - run: ./vendor/phpunit/phpunit/phpunit tests \ No newline at end of file diff --git a/.gitignore b/.gitignore index d3aaa30b4..3a046c8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ nbproject -/tests/E2E/ /vendor/ - +/config_*.xml .php_cs.cache .idea diff --git a/.travis.yml b/.travis.yml index f41ce5fe8..2a05e5fb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,12 +24,10 @@ install: - docker-compose up -d before_script: - - bash -c 'while [[ "$(curl -s -o /dev/null -w %{http_code} http://localhost:8001/index.php)" != "200" ]]; do sleep 5; done' + - bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} http://localhost:8001/index.php)" != "200" ]]; do sleep 5; done' - docker exec -u www-data -ti prestashop_autoupgrade cp modules/autoupgrade/ -R admin-dev script: - - php vendor/phpunit/phpunit/phpunit tests - # PHP Stan - if [[ $VERSION == "1.6" ]] || [[ $VERSION == 1\.6* ]]; then export PHPSTAN_FILE=phpstan-PS-16.neon; diff --git a/AdminSelfUpgrade.php b/AdminSelfUpgrade.php index 4f9ad7f5b..f0ecadd75 100755 --- a/AdminSelfUpgrade.php +++ b/AdminSelfUpgrade.php @@ -1,31 +1,29 @@ -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision: 11834 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - +/** + * Copyright since 2007 PrestaShop SA and Contributors + * PrestaShop is an International Registered Trademark & Property of PrestaShop SA + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.md. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * DISCLAIMER + * + * Do not edit or add to this file if you wish to upgrade PrestaShop to newer + * versions in the future. If you wish to customize PrestaShop for your + * needs please refer to https://devdocs.prestashop.com/ for more information. + * + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ use PrestaShop\Module\AutoUpgrade\AjaxResponse; use PrestaShop\Module\AutoUpgrade\BackupFinder; use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeFileNames; diff --git a/CHANGELOG.txt b/CHANGELOG.txt deleted file mode 100644 index 864748ead..000000000 --- a/CHANGELOG.txt +++ /dev/null @@ -1,27 +0,0 @@ -2014-04-22 18:56:42 +0200 // Changelog updated -2014-04-17 18:51:39 +0200 [-] Autoupgrade fix bug #PSCSX-1822 -2014-04-17 15:03:02 +0200 [-] Autoupgrade, fix bug #PSCSX-1747, class_index badly generated -2014-04-17 11:53:49 +0200 [-] MO : autoupgrade - Fix 1.5 ps_version_compliancy issue -2014-04-17 10:49:39 +0200 [-] MO : Autoupgrade new version -2014-04-14 10:32:20 +0200 [-] MO : Autoupgrade, Fix bug #PSCSX-1788, bad sql query -2014-04-10 16:52:28 +0200 [-] MO : Autoupgrade new version 1.3.7 -2014-04-10 16:46:32 +0200 // wording -2014-04-10 15:43:58 +0200 // autoupgrade small fix for .htaccess -2014-04-10 15:32:51 +0200 [-] Autoupgrade, Fix bug during Backup loop -2014-04-09 10:17:35 +0200 // autoupgrade, PHP Fatal error: Class 'Module' not found -2014-04-04 15:42:43 +0200 // autoupgrade remove display erros when not in mode_dev -2014-04-02 14:23:19 +0200 // autoupgrade, updateDefaultTheme on all shops -2014-04-01 12:18:27 +0200 // autoupgrade new version -2014-04-01 11:47:52 +0200 // autoupgrade enable htaccess genaration for 1.6 -2014-03-28 18:52:48 +0100 // autoupgrade , #PSCSX-1231 again -2014-03-28 18:43:22 +0100 // autoupgrade new version 1.3.3 -2014-03-28 18:41:49 +0100 // autoupgrade generate .htaccess on 1.6 -2014-03-28 18:40:46 +0100 // autoupgrade, bad query -2014-03-28 18:33:19 +0100 // autoupgrade remove class_index -2014-03-28 15:02:48 +0100 // autoupgrade #PSCSX-1468, generate .htaccess #PSCSX-1468 -2014-03-27 19:14:32 +0100 // delete old theme 1.4 in base if updateDefaultTheme -2014-03-27 12:47:35 +0100 // REPLACE without unique key on configuration -2014-03-27 10:59:45 +0100 // undefined var -2014-03-24 18:11:00 +0100 / MO autoupgrade : ps_versions_compliancy added -2014-03-21 15:12:10 +0100 // autoupgrade new version -2014-03-21 11:35:59 +0100 Initial commit diff --git a/Readme.md b/Readme.md index c59cd285d..5d560f7da 100644 --- a/Readme.md +++ b/Readme.md @@ -1,8 +1,10 @@ # 1-Click Upgrade +[![Build Status](https://travis-ci.com/PrestaShop/autoupgrade.svg?branch=dev)](https://travis-ci.com/PrestaShop/autoupgrade) + ## About -Provides an automated method to upgrade your shop to the latest version of PrestaShop. +Upgrade to the latest version of PrestaShop in a few clicks, thanks to this automated method. This module is compatible with all PrestaShop 1.6 & 1.7. # Prerequisites diff --git a/ajax-upgradetab.php b/ajax-upgradetab.php index cfb70bfd8..579c5d266 100755 --- a/ajax-upgradetab.php +++ b/ajax-upgradetab.php @@ -1,14 +1,15 @@ - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ use PrestaShop\Module\AutoUpgrade\Tools14; use PrestaShop\Module\AutoUpgrade\UpgradeTools\TaskRepository; diff --git a/ajax-upgradetabconfig.php b/ajax-upgradetabconfig.php index 6b24fa9bc..3ecdb907c 100644 --- a/ajax-upgradetabconfig.php +++ b/ajax-upgradetabconfig.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PrestaShop\Module\AutoUpgrade\Tools14; if (function_exists('date_default_timezone_set')) { diff --git a/autoupgrade.php b/autoupgrade.php index a9f1a2aed..f876022b5 100644 --- a/autoupgrade.php +++ b/autoupgrade.php @@ -1,14 +1,15 @@ - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ class Autoupgrade extends Module { @@ -31,7 +31,7 @@ public function __construct() $this->name = 'autoupgrade'; $this->tab = 'administration'; $this->author = 'PrestaShop'; - $this->version = '4.10.1'; + $this->version = '4.11.0'; $this->need_instance = 1; $this->bootstrap = true; @@ -48,7 +48,7 @@ public function __construct() } $this->displayName = $this->trans('1-Click Upgrade', array(), 'Modules.Autoupgrade.Admin'); - $this->description = $this->trans('Provides an automated method to upgrade your shop to the latest version of PrestaShop.', array(), 'Modules.Autoupgrade.Admin'); + $this->description = $this->trans('Upgrade to the latest version of PrestaShop in a few clicks, thanks to this automated method.', array(), 'Modules.Autoupgrade.Admin'); $this->ps_versions_compliancy = array('min' => '1.6.0.0', 'max' => _PS_VERSION_); } diff --git a/classes/AjaxResponse.php b/classes/AjaxResponse.php index 5344e66ba..86b8c25e3 100644 --- a/classes/AjaxResponse.php +++ b/classes/AjaxResponse.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/BackupFinder.php b/classes/BackupFinder.php index d538ca3cb..d688b14b6 100644 --- a/classes/BackupFinder.php +++ b/classes/BackupFinder.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/ChannelInfo.php b/classes/ChannelInfo.php index cd615cc13..26e8c0840 100644 --- a/classes/ChannelInfo.php +++ b/classes/ChannelInfo.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/Cookie.php b/classes/Cookie.php index 09a54b26c..d945e5f49 100644 --- a/classes/Cookie.php +++ b/classes/Cookie.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/ErrorHandler.php b/classes/ErrorHandler.php index cafe81b40..0f87f5283 100644 --- a/classes/ErrorHandler.php +++ b/classes/ErrorHandler.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/Log/LegacyLogger.php b/classes/Log/LegacyLogger.php index 02ab8a7ca..ccebaf83d 100644 --- a/classes/Log/LegacyLogger.php +++ b/classes/Log/LegacyLogger.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Log; diff --git a/classes/Log/Logger.php b/classes/Log/Logger.php index dd1e2d549..9919f7693 100644 --- a/classes/Log/Logger.php +++ b/classes/Log/Logger.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Log; diff --git a/classes/Log/StreamedLogger.php b/classes/Log/StreamedLogger.php index 04ef247a5..e93909faf 100644 --- a/classes/Log/StreamedLogger.php +++ b/classes/Log/StreamedLogger.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Log; diff --git a/classes/Log/index.php b/classes/Log/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/Log/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/LoggedEvent.php b/classes/LoggedEvent.php index f5e8157ed..b9fe5c1e7 100644 --- a/classes/LoggedEvent.php +++ b/classes/LoggedEvent.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace Composer\Script { diff --git a/classes/LoggedEventIo.php b/classes/LoggedEventIo.php index e34f6756a..b90d67bd7 100644 --- a/classes/LoggedEventIo.php +++ b/classes/LoggedEventIo.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/Parameters/FileConfigurationStorage.php b/classes/Parameters/FileConfigurationStorage.php index 671f49c1a..d982c1355 100644 --- a/classes/Parameters/FileConfigurationStorage.php +++ b/classes/Parameters/FileConfigurationStorage.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Parameters; diff --git a/classes/Parameters/UpgradeConfiguration.php b/classes/Parameters/UpgradeConfiguration.php index 7f73f490b..49ec3202e 100644 --- a/classes/Parameters/UpgradeConfiguration.php +++ b/classes/Parameters/UpgradeConfiguration.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Parameters; diff --git a/classes/Parameters/UpgradeConfigurationStorage.php b/classes/Parameters/UpgradeConfigurationStorage.php index 1691ee811..8fac28f8e 100644 --- a/classes/Parameters/UpgradeConfigurationStorage.php +++ b/classes/Parameters/UpgradeConfigurationStorage.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Parameters; diff --git a/classes/Parameters/UpgradeFileNames.php b/classes/Parameters/UpgradeFileNames.php index f72a86132..b2cd1deca 100644 --- a/classes/Parameters/UpgradeFileNames.php +++ b/classes/Parameters/UpgradeFileNames.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Parameters; diff --git a/classes/Parameters/index.php b/classes/Parameters/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/Parameters/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/PrestashopConfiguration.php b/classes/PrestashopConfiguration.php index 8a73695b7..7af6952b2 100644 --- a/classes/PrestashopConfiguration.php +++ b/classes/PrestashopConfiguration.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/State.php b/classes/State.php index f1551c6f7..440a19a4a 100644 --- a/classes/State.php +++ b/classes/State.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/TaskRunner/AbstractTask.php b/classes/TaskRunner/AbstractTask.php index 5437f1c6e..2895314fc 100644 --- a/classes/TaskRunner/AbstractTask.php +++ b/classes/TaskRunner/AbstractTask.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner; diff --git a/classes/TaskRunner/ChainedTasks.php b/classes/TaskRunner/ChainedTasks.php index 56bd04df7..64cb02706 100644 --- a/classes/TaskRunner/ChainedTasks.php +++ b/classes/TaskRunner/ChainedTasks.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner; diff --git a/classes/TaskRunner/Miscellaneous/CheckFilesVersion.php b/classes/TaskRunner/Miscellaneous/CheckFilesVersion.php index b6e53cff7..9ade951fb 100644 --- a/classes/TaskRunner/Miscellaneous/CheckFilesVersion.php +++ b/classes/TaskRunner/Miscellaneous/CheckFilesVersion.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Miscellaneous; diff --git a/classes/TaskRunner/Miscellaneous/CompareReleases.php b/classes/TaskRunner/Miscellaneous/CompareReleases.php index fa7e75011..84a7a189d 100644 --- a/classes/TaskRunner/Miscellaneous/CompareReleases.php +++ b/classes/TaskRunner/Miscellaneous/CompareReleases.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Miscellaneous; diff --git a/classes/TaskRunner/Miscellaneous/GetChannelInfo.php b/classes/TaskRunner/Miscellaneous/GetChannelInfo.php index 92739b0a9..32c71093e 100644 --- a/classes/TaskRunner/Miscellaneous/GetChannelInfo.php +++ b/classes/TaskRunner/Miscellaneous/GetChannelInfo.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Miscellaneous; diff --git a/classes/TaskRunner/Miscellaneous/UpdateConfig.php b/classes/TaskRunner/Miscellaneous/UpdateConfig.php index eec4b7d5d..48d60bebc 100644 --- a/classes/TaskRunner/Miscellaneous/UpdateConfig.php +++ b/classes/TaskRunner/Miscellaneous/UpdateConfig.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Miscellaneous; diff --git a/classes/TaskRunner/Miscellaneous/index.php b/classes/TaskRunner/Miscellaneous/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/TaskRunner/Miscellaneous/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/TaskRunner/NullTask.php b/classes/TaskRunner/NullTask.php index cbe86e7e6..1e18c82c0 100644 --- a/classes/TaskRunner/NullTask.php +++ b/classes/TaskRunner/NullTask.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner; diff --git a/classes/TaskRunner/Rollback/AllRollbackTasks.php b/classes/TaskRunner/Rollback/AllRollbackTasks.php index 768b128ba..2a72b812c 100644 --- a/classes/TaskRunner/Rollback/AllRollbackTasks.php +++ b/classes/TaskRunner/Rollback/AllRollbackTasks.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/NoRollbackFound.php b/classes/TaskRunner/Rollback/NoRollbackFound.php index aaeecb246..4e8853f4e 100644 --- a/classes/TaskRunner/Rollback/NoRollbackFound.php +++ b/classes/TaskRunner/Rollback/NoRollbackFound.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/RestoreDb.php b/classes/TaskRunner/Rollback/RestoreDb.php index 4315ea2a4..3112b1267 100644 --- a/classes/TaskRunner/Rollback/RestoreDb.php +++ b/classes/TaskRunner/Rollback/RestoreDb.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/RestoreFiles.php b/classes/TaskRunner/Rollback/RestoreFiles.php index f677839df..9e7b45f63 100644 --- a/classes/TaskRunner/Rollback/RestoreFiles.php +++ b/classes/TaskRunner/Rollback/RestoreFiles.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/Rollback.php b/classes/TaskRunner/Rollback/Rollback.php index 06f9045bb..7f050bdca 100644 --- a/classes/TaskRunner/Rollback/Rollback.php +++ b/classes/TaskRunner/Rollback/Rollback.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/RollbackComplete.php b/classes/TaskRunner/Rollback/RollbackComplete.php index 872cd6dc5..0d51b8477 100644 --- a/classes/TaskRunner/Rollback/RollbackComplete.php +++ b/classes/TaskRunner/Rollback/RollbackComplete.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Rollback; diff --git a/classes/TaskRunner/Rollback/index.php b/classes/TaskRunner/Rollback/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/TaskRunner/Rollback/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/TaskRunner/Upgrade/AllUpgradeTasks.php b/classes/TaskRunner/Upgrade/AllUpgradeTasks.php index f19bc1dbf..d4d9478e9 100644 --- a/classes/TaskRunner/Upgrade/AllUpgradeTasks.php +++ b/classes/TaskRunner/Upgrade/AllUpgradeTasks.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/BackupDb.php b/classes/TaskRunner/Upgrade/BackupDb.php index 57a9495a4..ef26d2102 100644 --- a/classes/TaskRunner/Upgrade/BackupDb.php +++ b/classes/TaskRunner/Upgrade/BackupDb.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; @@ -74,6 +74,7 @@ public function run() } $this->container->getState()->setDbStep(0); $tablesToBackup = $this->container->getDb()->executeS('SHOW TABLES LIKE "' . _DB_PREFIX_ . '%"', true, false); + $tablesToBackup = array_reverse($tablesToBackup); $this->container->getFileConfigurationStorage()->save($tablesToBackup, UpgradeFileNames::DB_TABLES_TO_BACKUP_LIST); } @@ -96,7 +97,7 @@ public function run() if (count($tablesToBackup) == 0) { break; } - $table = current(array_shift($tablesToBackup)); + $table = current(array_pop($tablesToBackup)); $this->container->getState()->setBackupLoopLimit(0); } diff --git a/classes/TaskRunner/Upgrade/BackupFiles.php b/classes/TaskRunner/Upgrade/BackupFiles.php index 1c753130b..4b2f0263e 100644 --- a/classes/TaskRunner/Upgrade/BackupFiles.php +++ b/classes/TaskRunner/Upgrade/BackupFiles.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; @@ -57,6 +57,7 @@ public function run() if (!$this->container->getFileConfigurationStorage()->exists(UpgradeFileNames::FILES_TO_BACKUP_LIST)) { /** @todo : only add files and dir listed in "originalPrestashopVersion" list */ $filesToBackup = $this->container->getFilesystemAdapter()->listFilesInDir($this->container->getProperty(UpgradeContainer::PS_ROOT_PATH), 'backup', false); + $filesToBackup = array_reverse($filesToBackup); $this->container->getFileConfigurationStorage()->save($filesToBackup, UpgradeFileNames::FILES_TO_BACKUP_LIST); if (count($filesToBackup)) { $this->logger->debug($this->translator->trans('%s Files to backup.', array(count($filesToBackup)), 'Modules.Autoupgrade.Admin')); diff --git a/classes/TaskRunner/Upgrade/CleanDatabase.php b/classes/TaskRunner/Upgrade/CleanDatabase.php index aae284f16..d07d68035 100644 --- a/classes/TaskRunner/Upgrade/CleanDatabase.php +++ b/classes/TaskRunner/Upgrade/CleanDatabase.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/Download.php b/classes/TaskRunner/Upgrade/Download.php index 7a731d928..d26096bce 100644 --- a/classes/TaskRunner/Upgrade/Download.php +++ b/classes/TaskRunner/Upgrade/Download.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/RemoveSamples.php b/classes/TaskRunner/Upgrade/RemoveSamples.php index fbeea5966..58ac9a330 100644 --- a/classes/TaskRunner/Upgrade/RemoveSamples.php +++ b/classes/TaskRunner/Upgrade/RemoveSamples.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; @@ -74,7 +74,9 @@ public function run() array('path' => $latestPath . '/override', 'filter' => '.php'), )); - $this->container->getState()->setRemoveList($removeList); + $this->container->getState()->setRemoveList( + array_reverse($removeList) + ); if (count($removeList)) { $this->logger->debug( @@ -85,7 +87,7 @@ public function run() $filesystem = new Filesystem(); for ($i = 0; $i < $this->container->getUpgradeConfiguration()->getNumberOfFilesPerCall() && 0 < count($removeList); ++$i) { - $file = array_shift($removeList); + $file = array_pop($removeList); try { $filesystem->remove($file); } catch (\Exception $e) { diff --git a/classes/TaskRunner/Upgrade/Unzip.php b/classes/TaskRunner/Upgrade/Unzip.php index 629093aa3..db82c8096 100644 --- a/classes/TaskRunner/Upgrade/Unzip.php +++ b/classes/TaskRunner/Upgrade/Unzip.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/UpgradeComplete.php b/classes/TaskRunner/Upgrade/UpgradeComplete.php index c22526c47..c3875fa89 100644 --- a/classes/TaskRunner/Upgrade/UpgradeComplete.php +++ b/classes/TaskRunner/Upgrade/UpgradeComplete.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/UpgradeDb.php b/classes/TaskRunner/Upgrade/UpgradeDb.php index e65afbb56..3f9f7e63a 100644 --- a/classes/TaskRunner/Upgrade/UpgradeDb.php +++ b/classes/TaskRunner/Upgrade/UpgradeDb.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/UpgradeFiles.php b/classes/TaskRunner/Upgrade/UpgradeFiles.php index 66f53caba..82bc2d1c2 100644 --- a/classes/TaskRunner/Upgrade/UpgradeFiles.php +++ b/classes/TaskRunner/Upgrade/UpgradeFiles.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; @@ -67,7 +67,7 @@ public function run() break; } - $file = array_shift($filesToUpgrade); + $file = array_pop($filesToUpgrade); if (!$this->upgradeThisFile($file)) { // put the file back to the begin of the list $this->next = 'error'; @@ -264,9 +264,9 @@ protected function warmUp() } // also add files to remove - $list_files_to_upgrade = array_merge($list_files_diff, $list_files_to_upgrade); + $list_files_to_upgrade = array_reverse(array_merge($list_files_diff, $list_files_to_upgrade)); - $filesToMoveToTheBeginning = array( + $filesToMoveToTheEnd = array( DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php', DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR . 'ClassLoader.php', DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR . 'autoload_classmap.php', @@ -280,10 +280,10 @@ protected function warmUp() DIRECTORY_SEPARATOR . 'vendor', ); - foreach ($filesToMoveToTheBeginning as $file) { + foreach ($filesToMoveToTheEnd as $file) { if ($key = array_search($file, $list_files_to_upgrade)) { unset($list_files_to_upgrade[$key]); - $list_files_to_upgrade = array_merge(array($file), $list_files_to_upgrade); + $list_files_to_upgrade[] = $file; } } diff --git a/classes/TaskRunner/Upgrade/UpgradeModules.php b/classes/TaskRunner/Upgrade/UpgradeModules.php index f9c48eaaa..09e83740f 100644 --- a/classes/TaskRunner/Upgrade/UpgradeModules.php +++ b/classes/TaskRunner/Upgrade/UpgradeModules.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; @@ -60,7 +60,7 @@ public function run() // module list if (count($listModules) > 0) { do { - $module_info = array_shift($listModules); + $module_info = array_pop($listModules); try { $this->logger->debug($this->translator->trans('Upgrading module %module%...', ['%module%' => $module_info['name']], 'Modules.Autoupgrade.Admin')); $this->container->getModuleAdapter()->upgradeModule($module_info['id'], $module_info['name']); @@ -142,6 +142,7 @@ public function warmUp() { try { $modulesToUpgrade = $this->container->getModuleAdapter()->listModulesToUpgrade($this->container->getState()->getModules_addons()); + $modulesToUpgrade = array_reverse($modulesToUpgrade); $this->container->getFileConfigurationStorage()->save($modulesToUpgrade, UpgradeFileNames::MODULES_TO_UPGRADE_LIST); } catch (UpgradeException $e) { $this->handleException($e); diff --git a/classes/TaskRunner/Upgrade/UpgradeNow.php b/classes/TaskRunner/Upgrade/UpgradeNow.php index 30d9974e8..e114f34a9 100644 --- a/classes/TaskRunner/Upgrade/UpgradeNow.php +++ b/classes/TaskRunner/Upgrade/UpgradeNow.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade; diff --git a/classes/TaskRunner/Upgrade/index.php b/classes/TaskRunner/Upgrade/index.php new file mode 100644 index 000000000..03d373462 --- /dev/null +++ b/classes/TaskRunner/Upgrade/index.php @@ -0,0 +1,35 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/TaskRunner/index.php b/classes/TaskRunner/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/TaskRunner/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/Tools14.php b/classes/Tools14.php index 799360d35..eda0fa06e 100755 --- a/classes/Tools14.php +++ b/classes/Tools14.php @@ -1,14 +1,15 @@ - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\Module\AutoUpgrade; @@ -1389,7 +1389,7 @@ public static function file_exists_cache($filename) } /** - * Check config & source file to settle which dl method to use + * Check config & source file to settle which dl method to use */ public static function shouldUseFopen($url) { @@ -2395,7 +2395,7 @@ public static function nl2br($str) /** * Copy a file to another place - * + * * @return bool True if the copy succeded */ public static function copy($source, $destination, $stream_context = null) diff --git a/classes/Twig/Block/ChannelInfoBlock.php b/classes/Twig/Block/ChannelInfoBlock.php index cbdc6fce8..b361b6417 100644 --- a/classes/Twig/Block/ChannelInfoBlock.php +++ b/classes/Twig/Block/ChannelInfoBlock.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Block; diff --git a/classes/Twig/Block/RollbackForm.php b/classes/Twig/Block/RollbackForm.php index aeee76d0e..c321c819f 100644 --- a/classes/Twig/Block/RollbackForm.php +++ b/classes/Twig/Block/RollbackForm.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Block; diff --git a/classes/Twig/Block/UpgradeButtonBlock.php b/classes/Twig/Block/UpgradeButtonBlock.php index 435b97331..bac84b3f8 100644 --- a/classes/Twig/Block/UpgradeButtonBlock.php +++ b/classes/Twig/Block/UpgradeButtonBlock.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Block; diff --git a/classes/Twig/Block/UpgradeChecklist.php b/classes/Twig/Block/UpgradeChecklist.php index 7b5484dcc..082d6ae1f 100644 --- a/classes/Twig/Block/UpgradeChecklist.php +++ b/classes/Twig/Block/UpgradeChecklist.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Block; diff --git a/classes/Twig/Block/index.php b/classes/Twig/Block/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/Twig/Block/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/Twig/Form/BackupOptionsForm.php b/classes/Twig/Form/BackupOptionsForm.php index 6b4d14e38..0a3d5712d 100644 --- a/classes/Twig/Form/BackupOptionsForm.php +++ b/classes/Twig/Form/BackupOptionsForm.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Form; diff --git a/classes/Twig/Form/FormRenderer.php b/classes/Twig/Form/FormRenderer.php index 412d552f9..e590513d3 100644 --- a/classes/Twig/Form/FormRenderer.php +++ b/classes/Twig/Form/FormRenderer.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Form; diff --git a/classes/Twig/Form/UpgradeOptionsForm.php b/classes/Twig/Form/UpgradeOptionsForm.php index 2f4a8cd9a..9c63a710f 100644 --- a/classes/Twig/Form/UpgradeOptionsForm.php +++ b/classes/Twig/Form/UpgradeOptionsForm.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig\Form; diff --git a/classes/Twig/Form/index.php b/classes/Twig/Form/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/Twig/Form/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/Twig/TransFilterExtension.php b/classes/Twig/TransFilterExtension.php index 53c701a17..0cc8c1be1 100644 --- a/classes/Twig/TransFilterExtension.php +++ b/classes/Twig/TransFilterExtension.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\Twig; diff --git a/classes/Twig/index.php b/classes/Twig/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/Twig/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/UpgradeContainer.php b/classes/UpgradeContainer.php index 8a867d982..06947a488 100644 --- a/classes/UpgradeContainer.php +++ b/classes/UpgradeContainer.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; @@ -54,7 +54,7 @@ class UpgradeContainer const BACKUP_PATH = 'backup'; const DOWNLOAD_PATH = 'download'; const LATEST_PATH = 'latest'; // AdminSelfUpgrade::$latestRootDir - const LATEST_DIR = 'lastest/'; + const LATEST_DIR = 'latest/'; const TMP_PATH = 'tmp'; const PS_ADMIN_PATH = 'ps_admin'; const PS_ADMIN_SUBDIR = 'ps_admin_subdir'; diff --git a/classes/UpgradeException.php b/classes/UpgradeException.php index 3377cac71..4ec25385d 100644 --- a/classes/UpgradeException.php +++ b/classes/UpgradeException.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/UpgradePage.php b/classes/UpgradePage.php index c0df124bc..498c886c1 100644 --- a/classes/UpgradePage.php +++ b/classes/UpgradePage.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/UpgradeSelfCheck.php b/classes/UpgradeSelfCheck.php index 14d24d54b..f3be2eecc 100644 --- a/classes/UpgradeSelfCheck.php +++ b/classes/UpgradeSelfCheck.php @@ -1,14 +1,15 @@ - * @copyright 2007-2017 PrestaShop SA - * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/UpgradeTools/CacheCleaner.php b/classes/UpgradeTools/CacheCleaner.php index fe85c9a91..2afdd06db 100644 --- a/classes/UpgradeTools/CacheCleaner.php +++ b/classes/UpgradeTools/CacheCleaner.php @@ -1,14 +1,15 @@ - * @copyright 2007-2019 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php index 643704f9c..2d1fc6a6e 100644 --- a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php +++ b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader; diff --git a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader16.php b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader16.php index bc377da24..c2e71a05b 100644 --- a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader16.php +++ b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader16.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader; diff --git a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php index 70960eed3..22899dd0c 100644 --- a/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php +++ b/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader; @@ -107,7 +107,7 @@ protected function upgradeLanguage($lang) // TODO: Update AdminTranslationsController::addNewTabs to install tabs translated // CLDR has been updated on PS 1.7.6.0. From this version, updates are not needed anymore. - if (method_exists('\PrestaShop\PrestaShop\Core\Cldr\Update', 'fetchLocale')) { + if (version_compare($this->container->getState()->getInstallVersion(), '1.7.6.0', '<')) { $cldrUpdate = new \PrestaShop\PrestaShop\Core\Cldr\Update(_PS_TRANSLATIONS_DIR_); $cldrUpdate->fetchLocale(\Language::getLocaleByIso($isoCode)); } diff --git a/classes/UpgradeTools/CoreUpgrader/index.php b/classes/UpgradeTools/CoreUpgrader/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/UpgradeTools/CoreUpgrader/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/UpgradeTools/Database.php b/classes/UpgradeTools/Database.php index 622149d66..1ab500f01 100644 --- a/classes/UpgradeTools/Database.php +++ b/classes/UpgradeTools/Database.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; @@ -44,7 +44,7 @@ public function getAllTables() $all_tables = array(); foreach ($tables as $v) { - $table = array_shift($v); + $table = reset($v); $all_tables[$table] = $table; } diff --git a/classes/UpgradeTools/FileFilter.php b/classes/UpgradeTools/FileFilter.php index 46e19b1d0..087da28b0 100644 --- a/classes/UpgradeTools/FileFilter.php +++ b/classes/UpgradeTools/FileFilter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/FilesystemAdapter.php b/classes/UpgradeTools/FilesystemAdapter.php index e8ea6c03f..406ed0e04 100644 --- a/classes/UpgradeTools/FilesystemAdapter.php +++ b/classes/UpgradeTools/FilesystemAdapter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/ModuleAdapter.php b/classes/UpgradeTools/ModuleAdapter.php index 16d861f5a..3c6f7c753 100644 --- a/classes/UpgradeTools/ModuleAdapter.php +++ b/classes/UpgradeTools/ModuleAdapter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/SettingsFileWriter.php b/classes/UpgradeTools/SettingsFileWriter.php index a1bf4a7ff..ab665c66c 100644 --- a/classes/UpgradeTools/SettingsFileWriter.php +++ b/classes/UpgradeTools/SettingsFileWriter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/SymfonyAdapter.php b/classes/UpgradeTools/SymfonyAdapter.php index e4a914a19..62b34c95c 100644 --- a/classes/UpgradeTools/SymfonyAdapter.php +++ b/classes/UpgradeTools/SymfonyAdapter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/TaskRepository.php b/classes/UpgradeTools/TaskRepository.php index 318f117ee..f52114304 100644 --- a/classes/UpgradeTools/TaskRepository.php +++ b/classes/UpgradeTools/TaskRepository.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/ThemeAdapter.php b/classes/UpgradeTools/ThemeAdapter.php index ac38b4dd2..d7caf3842 100644 --- a/classes/UpgradeTools/ThemeAdapter.php +++ b/classes/UpgradeTools/ThemeAdapter.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/Translation.php b/classes/UpgradeTools/Translation.php index f256e7bc6..37efcc58f 100644 --- a/classes/UpgradeTools/Translation.php +++ b/classes/UpgradeTools/Translation.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/Translator.php b/classes/UpgradeTools/Translator.php index e17b0ff32..30e84c7ff 100644 --- a/classes/UpgradeTools/Translator.php +++ b/classes/UpgradeTools/Translator.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; diff --git a/classes/UpgradeTools/index.php b/classes/UpgradeTools/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/classes/UpgradeTools/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/classes/Upgrader.php b/classes/Upgrader.php index c53c89b5b..d669ef3f8 100755 --- a/classes/Upgrader.php +++ b/classes/Upgrader.php @@ -1,14 +1,15 @@ - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/Workspace.php b/classes/Workspace.php index ae19f8578..983493e45 100644 --- a/classes/Workspace.php +++ b/classes/Workspace.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; diff --git a/classes/ZipAction.php b/classes/ZipAction.php index d16e1722e..520989c5c 100644 --- a/classes/ZipAction.php +++ b/classes/ZipAction.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\AutoUpgrade; @@ -75,7 +75,7 @@ public function compress(&$filesList, $toFile) } for ($i = 0; $i < $this->configMaxNbFilesCompressedInARow && count($filesList); ++$i) { - $file = array_shift($filesList); + $file = array_pop($filesList); $archiveFilename = $this->getFilepathInArchive($file); if (!$this->isFileWithinFileSizeLimit($file)) { diff --git a/classes/index.php b/classes/index.php new file mode 100644 index 000000000..c1ae00449 --- /dev/null +++ b/classes/index.php @@ -0,0 +1,36 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + +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; diff --git a/cli-rollback.php b/cli-rollback.php index efdbd886e..fef6b99a2 100644 --- a/cli-rollback.php +++ b/cli-rollback.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - if (PHP_SAPI !== 'cli') { echo 'This script must be called from CLI'; exit(1); diff --git a/cli-upgrade.php b/cli-upgrade.php index 2ab08e220..076b4c2ce 100644 --- a/cli-upgrade.php +++ b/cli-upgrade.php @@ -1,14 +1,15 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - if (PHP_SAPI !== 'cli') { echo 'This script must be called from CLI'; exit(1); diff --git a/composer.json b/composer.json index de9e36a99..e25b06417 100644 --- a/composer.json +++ b/composer.json @@ -1,37 +1,39 @@ { - "name": "prestashop/autoupgrade", - "description": "PrestaShop module autoupgrade", - "homepage": "https://github.com/PrestaShop/autoupgrade", - "license": "AFL-3.0", - "authors": [ - { - "name": "PrestaShop SA", - "email": "contact@prestashop.com" - } - ], - "require": { - "php": ">=5.6", - "ext-zip": "*", - "symfony/filesystem": "~2.8", - "doctrine/collections": "~1.3.0", - "twig/twig": "^1.35" - }, - "config": { - "preferred-install": "dist", - "platform": { - "php": "5.6" + "name": "prestashop/autoupgrade", + "description": "PrestaShop module autoupgrade", + "homepage": "https://github.com/PrestaShop/autoupgrade", + "license": "AFL-3.0", + "authors": [ + { + "name": "PrestaShop SA", + "email": "contact@prestashop.com" + } + ], + "require": { + "php": ">=5.6", + "ext-zip": "*", + "symfony/filesystem": "~2.8", + "doctrine/collections": "~1.3.0", + "twig/twig": "^1.35" }, - "prepend-autoloader": false, - "optimize-autoloader": true - }, - "type": "prestashop-module", - "autoload": { - "psr-4": { - "PrestaShop\\Module\\AutoUpgrade\\": "classes/", - "PrestaShop\\Module\\AutoUpgrade\\Temp\\": "templates/" - } - }, - "require-dev": { - "phpunit/phpunit": "^5" - } -} + "config": { + "preferred-install": "dist", + "platform": { + "php": "5.6" + }, + "prepend-autoloader": false, + "optimize-autoloader": true + }, + "type": "prestashop-module", + "autoload": { + "psr-4": { + "PrestaShop\\Module\\AutoUpgrade\\": "classes/", + "PrestaShop\\Module\\AutoUpgrade\\Temp\\": "templates/" + } + }, + "require-dev": { + "phpunit/phpunit": "^5", + "prestashop/php-dev-tools": "^2" + }, + "author": "PrestaShop" +} \ No newline at end of file diff --git a/config.xml b/config.xml index eb7c21dae..066c27a25 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ autoupgrade - + diff --git a/css/index.php b/css/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/css/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/css/styles.css b/css/styles.css index 76b0f9d9b..465a5f672 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,3 +1,27 @@ +/** + * Copyright since 2007 PrestaShop SA and Contributors + * PrestaShop is an International Registered Trademark & Property of PrestaShop SA + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.md. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * DISCLAIMER + * + * Do not edit or add to this file if you wish to upgrade PrestaShop to newer + * versions in the future. If you wish to customize PrestaShop for your + * needs please refer to https://devdocs.prestashop.com/ for more information. + * + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ .upgradestep { margin-right: 5px;padding-left: 10px; padding-right: 5px;} .processing {border:2px outset gray;margin-top:1px;overflow: auto;} #infoStep {height:100px;} @@ -18,4 +42,4 @@ .nextStep {font-weight: bold;} #diffList, #changedList {margin-top: 20px;} #autoupgradePhpWarningMainIcon {font-size: 3em;} -#autoupgradePhpWarn .icon-stack-text {color: white;} \ No newline at end of file +#autoupgradePhpWarn .icon-stack-text {color: white;} diff --git a/docker-compose.yml b/docker-compose.yml index 068d4680c..bdbbbb43b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,7 @@ services: DB_NAME: psreference PS_DOMAIN: localhost:8001 PS_INSTALL_AUTO: 1 + PS_INSTALL_DB: 1 PS_ERASE_DB: 1 PS_FOLDER_ADMIN: admin-dev PS_FOLDER_INSTALL: install-dev @@ -30,4 +31,4 @@ services: - '8001:80' volumes: - temp-ps: \ No newline at end of file + temp-ps: diff --git a/functions.php b/functions.php index dd5985853..fd4317ae9 100755 --- a/functions.php +++ b/functions.php @@ -1,13 +1,14 @@ - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ /** diff --git a/index.php b/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/js/dashboard.js b/js/dashboard.js index e162f51d1..13c3bf781 100644 --- a/js/dashboard.js +++ b/js/dashboard.js @@ -1,3 +1,27 @@ +/** + * Copyright since 2007 PrestaShop SA and Contributors + * PrestaShop is an International Registered Trademark & Property of PrestaShop SA + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.md. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * DISCLAIMER + * + * Do not edit or add to this file if you wish to upgrade PrestaShop to newer + * versions in the future. If you wish to customize PrestaShop for your + * needs please refer to https://devdocs.prestashop.com/ for more information. + * + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ $(document).ready(function(){ var autoUpgradePanel = $("#autoupgradePhpWarn"); diff --git a/js/index.php b/js/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/js/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/logo.png b/logo.png index d7df3dd78..6c859c801 100644 Binary files a/logo.png and b/logo.png differ diff --git a/tests/CookieTest.php b/tests/CookieTest.php index 175622695..990462a9b 100644 --- a/tests/CookieTest.php +++ b/tests/CookieTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\Cookie; diff --git a/tests/CoreUpgraderTest.php b/tests/CoreUpgraderTest.php index d4d32573c..e99e2ff68 100644 --- a/tests/CoreUpgraderTest.php +++ b/tests/CoreUpgraderTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\Log\LegacyLogger; use PrestaShop\Module\AutoUpgrade\UpgradeContainer; diff --git a/tests/ErrorHandlerTest.php b/tests/ErrorHandlerTest.php index d3be885e3..1b6c5d1fc 100644 --- a/tests/ErrorHandlerTest.php +++ b/tests/ErrorHandlerTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\ErrorHandler; use PrestaShop\Module\AutoUpgrade\Log\LegacyLogger; diff --git a/tests/FilesystemAdapterTest.php b/tests/FilesystemAdapterTest.php index ffd192123..b0d3144c1 100644 --- a/tests/FilesystemAdapterTest.php +++ b/tests/FilesystemAdapterTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\UpgradeContainer; diff --git a/tests/LegacyLoggerTest.php b/tests/LegacyLoggerTest.php index c7dfb13a3..5b00fe2c5 100644 --- a/tests/LegacyLoggerTest.php +++ b/tests/LegacyLoggerTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\Log\LegacyLogger; diff --git a/tests/PrestaShopConfigurationTest.php b/tests/PrestaShopConfigurationTest.php index d068b2806..edba0a54b 100644 --- a/tests/PrestaShopConfigurationTest.php +++ b/tests/PrestaShopConfigurationTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\PrestashopConfiguration; diff --git a/tests/SettingsFileWriterTest.php b/tests/SettingsFileWriterTest.php index d269b202b..6048a25cb 100644 --- a/tests/SettingsFileWriterTest.php +++ b/tests/SettingsFileWriterTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\UpgradeTools\SettingsFileWriter; use PrestaShop\Module\AutoUpgrade\UpgradeContainer; diff --git a/tests/StateTest.php b/tests/StateTest.php index 21ff15a5e..0529c0427 100644 --- a/tests/StateTest.php +++ b/tests/StateTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\State; diff --git a/tests/StreamedLoggerTest.php b/tests/StreamedLoggerTest.php index fb95ce5ad..840cf1d8c 100644 --- a/tests/StreamedLoggerTest.php +++ b/tests/StreamedLoggerTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\Log\Logger; use PrestaShop\Module\AutoUpgrade\Log\StreamedLogger; diff --git a/tests/TranslatorTest.php b/tests/TranslatorTest.php index 7b899fecb..4e10e83b4 100644 --- a/tests/TranslatorTest.php +++ b/tests/TranslatorTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\UpgradeTools\Translator; diff --git a/tests/UpgradeConfigurationTest.php b/tests/UpgradeConfigurationTest.php index 5dfb82728..4800c753f 100644 --- a/tests/UpgradeConfigurationTest.php +++ b/tests/UpgradeConfigurationTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\Parameters\FileConfigurationStorage; use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfigurationStorage; diff --git a/tests/UpgradeContainerTest.php b/tests/UpgradeContainerTest.php index f91e293e7..ee238b9d6 100644 --- a/tests/UpgradeContainerTest.php +++ b/tests/UpgradeContainerTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\UpgradeContainer; diff --git a/tests/ZipActionTest.php b/tests/ZipActionTest.php index 838874c6c..21627682f 100644 --- a/tests/ZipActionTest.php +++ b/tests/ZipActionTest.php @@ -1,13 +1,14 @@ - * @copyright 2007-2019 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ - use PHPUnit\Framework\TestCase; use PrestaShop\Module\AutoUpgrade\UpgradeContainer; diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml deleted file mode 100644 index c68015059..000000000 --- a/tests/docker-compose.yml +++ /dev/null @@ -1,84 +0,0 @@ -version: '3' - -services: - tests: - build: E2E/ - environment: - SELENIUM_HOST: selenium-chrome - URL: prestashop-web - depends_on: - - 'prestashop' - - 'selenium-chrome' - command: - [ - '/tmp/wait-for-it.sh', - '--timeout=200', - '--strict', - 'prestashop:80', - '--', - '/tmp/node_modules/mocha/bin/mocha /tmp/test/campaigns/high/13_installation', - '--URL=prestashop-web', - '--SELENIUM=selenium-chrome', - '--DIR=/home/seluser/Downloads/', - '--DB_SERVER=db', - '--DB_USER=root', - '--DB_PASSWD=admin', - '--RCTARGET=/tmp/', - '--RCLINK=http://localhost/prestashop_1.7.3.0-RC1.zip', - ] - volumes: - - ./screenshots/:/home/test/screenshots/ - - downloads:/home/seluser/Downloads - networks: - - default - - prestashop: - build: E2E/docker_prestashop/ - environment: - DB_SERVER: db - PS_INSTALL_AUTO: 0 - PS_COUNTRY: fr - PS_DOMAIN: prestashop-web - PS_FOLDER_ADMIN: admin-dev - PS_FOLDER_INSTALL: install-dev - depends_on: - - 'db' - command: - [ - '/tmp/wait-for-it.sh', - '--timeout=60', - '--strict', - 'db:3306', - '--', - '/tmp/docker_run.sh', - ] - ports: - - 8002:80 - networks: - default: - aliases: - - prestashop-web - - selenium-chrome: - image: selenium/standalone-chrome - ports: - - 4444:4444 - volumes: - - downloads:/home/seluser/Downloads - networks: - default: - aliases: - - selenium-chrome - - db: - image: mysql - environment: - MYSQL_ROOT_PASSWORD: admin - networks: - - default - -volumes: - downloads: - -networks: - default: diff --git a/tests/fixtures/api-addons-module-details-for-ps-1.7.7.0-down.json b/tests/fixtures/api-addons-module-details-for-ps-1.7.7.0-down.json new file mode 100644 index 000000000..aa71b0788 --- /dev/null +++ b/tests/fixtures/api-addons-module-details-for-ps-1.7.7.0-down.json @@ -0,0 +1,20 @@ +HTTP 500, HERE'S A DOGE INSTEAD + ▄ ▄ + ▌▒█ ▄▀▒▌ + ▌▒▒█ ▄▀▒▒▒▐ + ▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ + ▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ + ▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌ + ▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌ + ▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐ + ▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌ + ▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌ + ▌▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐ + ▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌ + ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐ + ▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌ + ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐ + ▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌ + ▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀ + ▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀ + ▒▒▒▒▒▒▒▒▒▒▀▀ \ No newline at end of file diff --git a/tests/fixtures/index.php b/tests/fixtures/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/tests/fixtures/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/tests/index.php b/tests/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/tests/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/tests/phpstan/bootstrap.php b/tests/phpstan/bootstrap.php index 924e9c31a..4c9c73a24 100644 --- a/tests/phpstan/bootstrap.php +++ b/tests/phpstan/bootstrap.php @@ -1,5 +1,28 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ $rootDir = getenv('_PS_ROOT_DIR_'); if (!$rootDir) { diff --git a/tests/phpstan/index.php b/tests/phpstan/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/tests/phpstan/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/tests/releases/index.php b/tests/releases/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/tests/releases/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/tests/releases/prestashop.zip b/tests/releases/prestashop.zip deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/runFunctionalTests.sh b/tests/runFunctionalTests.sh deleted file mode 100644 index 5275486ef..000000000 --- a/tests/runFunctionalTests.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -if [[ -z "${TRAVIS_BUILD_DIR}" ]]; then - echo "Variable TRAVIS_BUILD_DIR must defined as the root of your autoupgrade project!" - echo "Example: export TRAVIS_BUILD_DIR=$(realpath $(dirname "$0")/..)" - exit 1 -fi - -BRANCH=mbadrani-develop -FOLDER=tests/E2E - -cd $TRAVIS_BUILD_DIR -if [ ! -d "$FOLDER" ]; then - echo "$FOLDER does not exist, cloning tests..." - git clone --depth=10 --branch=$BRANCH https://github.com/Quetzacoalt91/PrestaShop.git $FOLDER - cd $FOLDER - git filter-branch --prune-empty --subdirectory-filter tests/E2E $BRANCH -fi - -docker-compose up diff --git a/tests/testCliProcess.php b/tests/testCliProcess.php index affb74986..677987195 100644 --- a/tests/testCliProcess.php +++ b/tests/testCliProcess.php @@ -1,13 +1,14 @@ - * @copyright 2007-2018 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ // Although no arguments execute the script, you can get some help if requested. diff --git a/translations/cs.php b/translations/cs.php index bb2e972c0..64d98d632 100644 --- a/translations/cs.php +++ b/translations/cs.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/de.php b/translations/de.php index 0c8acfc6b..1c2ba1584 100644 --- a/translations/de.php +++ b/translations/de.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/en.php b/translations/en.php new file mode 100644 index 000000000..5e88ef782 --- /dev/null +++ b/translations/en.php @@ -0,0 +1,599 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + + +global $_MODULE; +$_MODULE = array(); + +$_MODULE['<{autoupgrade}prestashop>adminpreferences_6adf97f83acf6453d4a6a4b1070f3754'] = 'None'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_c035796995e11f000835780bbadbd575'] = 'Standard (5 steps)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_b563636fd3896671be0104bbc6783be4'] = 'One page checkout'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_27f3765c3871cd5fe52f88f31dfe2c89'] = 'superior'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_f8d23e159df67b2673d7c29166864453'] = 'inferior'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_700e61469b84a66ddb24304a85b0c181'] = 'classical'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_7fe15a347d66e291d7a1375273226205'] = 'Enable Shop'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_049104cffa3c1841dece50e6e41f749c'] = 'Activate or deactivate your shop. Deactivate your shop while you perform maintenance on it. Please note that the webservice will not be disabled'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_daf835712085aaaf81818e7ebfeb66b8'] = 'Maintenance IP'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_894cd7887e47ca0e836e31577664b1ea'] = 'IP addresses allowed to access the Front Office even if shop is disabled. Use a comma to separate them (e.g., 42.24.4.2,127.0.0.1,99.98.97.96)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_1656072e927c8d3acd24359cbb648bb5'] = 'Enable SSL'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_8de64d6b49cebd2306af6ddbcd268700'] = 'If your hosting provider allows SSL, you can activate SSL encryption (https://) for customer account identification and order processing'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_ed5454727fb14b9800ead242d0972184'] = 'Check IP on the cookie'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_9cfc2e28ebe44b3e14f9d780d2150650'] = 'Check the IP address of the cookie in order to avoid your cookie being stolen'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_c87330f475e4384552c0077927d26e1a'] = 'Lifetime of the Front Office cookie'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_6d964e25aa6aa88c8353880e00202cf4'] = 'Indicate the number of hours'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e673b146824251548feecf1f3929aceb'] = 'Lifetime of the Back Office cookie'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e12874163bcb256726ddfe643aa53a63'] = 'Increase Front Office security'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_cce43372fe8624c0edf870f417557b84'] = 'Enable or disable token on the Front Office in order to improve PrestaShop security'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_16c390c0fd1efc4f493a6a861aa22d2f'] = 'Back Office help boxes'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_dc58d598b2b22e50c5af01134305a4fb'] = 'Enable yellow help boxes which are displayed under form fields in the Back Office'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_59aad85b376259844b471a758908a3c1'] = 'Order process type'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_6c9f73b6b5d16baa641cf8343348eb8d'] = 'You can choose the order process type as either standard (5 steps) or One Page Checkout'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_403e42a4b26e379cb13563c98ab63067'] = 'Enable guest checkout'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_11e7774c4aeee369f9de701a795fb58d'] = 'Your guest can make an order without registering'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e4045598261988d9988c594243a9434d'] = 'Terms of service'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_342b52e8fe475dc8b5bf11afbfd46ea4'] = 'Require customers to accept or decline terms of service before processing the order'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_d4d27f93d89b170800f7896e3e438468'] = 'Conditions of use CMS page'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_6cda6c81a66d7faecf49e94a3b55e924'] = 'Choose the Conditions of use CMS page'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_cd712537c39c43dcbf61e61a6df83cdd'] = 'Offer gift-wrapping'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_28a318da44a83a4124b9cbcfa4978722'] = 'Suggest gift-wrapping to customer and possibility of leaving a message'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_2a0677dae563d574fb1c50badaa4eabf'] = 'Gift-wrapping price'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_c173252856179a44a9506a968359de8b'] = 'Set a price for gift-wrapping'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_0d8bdbe98feb696dd76760ee1374a740'] = 'Gift-wrapping tax'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_9311ccba175a9f2fc72e7c6a3dfb6078'] = 'Set a tax for gift-wrapping'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_3aadb5e86b174ecada1174e22f5a6368'] = 'Attachment maximum size'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_0550caa9a256c7672bda5f09a45c9334'] = 'Set the maximum size of attachment files (in MegaBytes)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_b667478ccafce4bff6d427a6bca06269'] = 'Offer recycled packaging'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e84eed89f38f20639431d99ad2f5ee8a'] = 'Suggest recycled packaging to customer'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e6b03a6bdf49d1cd0655e0f7a3d990cb'] = 'Cart re-display at login'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_8d7a93422a7ecd89d12811e22055f6d5'] = 'After customer logs in, recall and display contents of his/her last shopping cart'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_ac2021d3c67ee796d7ab20a466ebd583'] = 'Round mode'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_95be164e850e88c5282e84669f368e1b'] = 'You can choose how to round prices: always round superior; always round inferior, or classic rounding'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_46f18d3960afc01e5a1a5a0e0e9d571b'] = 'Automatically check for module updates'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_686a2ac82a5a64eca870ba9a55b8a675'] = 'New modules and updates are displayed on the modules page'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_a9fff6d50be898f47a507354626b8b8d'] = 'Hide optimization tips'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e4e2107f99e82247d7e32ac7919c4416'] = 'Hide optimization tips on the back office homepage'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_79a8435260e0c3b17e30ccb1c6dfc75c'] = 'Display suppliers and manufacturers'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_4be87dc8773fa2fb95b7b8302cb47fa9'] = 'Display manufacturers and suppliers list even if corresponding blocks are disabled'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_9f47ef1ea6bca844b91ceb0322e6ae83'] = 'Use Smarty 2 instead of 3'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_e0357226a7cbd43985e1b49bb30f9c55'] = 'Enable if your theme is incompatible with Smarty 3 (you should update your theme, since Smarty 2 will be unsupported from PrestaShop v1.5)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_d5bc5fd307b108537039b6b6f98889d5'] = 'Time Zone:'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_bbd6622dbbdf4bcb166f5e3f018a2351'] = 'Please click here to use HTTPS protocol before enabling SSL.'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_0db377921f4ce762c62526131097968f'] = 'General'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_93cba07454f06a4a960172bbd6e2a435'] = 'Yes'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_c6e98a4b0af7d0f66842f744d999e436'] = 'In order to use a new theme, please follow these steps:'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_432eb00cc8aace97c632fea212575b51'] = 'Import your theme using this module:'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_2b5bde814a5f94ea73f447cdbcfb49fd'] = 'Theme installer'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_64915993f11c4fbd47d8a6465f44125c'] = 'When your theme is imported, please select the theme in this page'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_21034ae6d01a83e702839a72ba8a77b0'] = '(tax excl.)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_c770d8e0d1d1943ce239c64dbd6acc20'] = 'Add my IP'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_6a7a397c4d4b5842440eb4eab1f7af8c'] = 'if you change the theme, the settings.inc.php file must be writable (CHMOD 755 / 777)'; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_38fb7d24e0d60a048f540ecb18e13376'] = ' Save '; +$_MODULE['<{autoupgrade}prestashop>adminpreferences_19f823c6453c2b1ffd09cb715214813d'] = 'Required field'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_87a2663d841b78f01c27c0edb4f50b76'] = 'Deletion successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_a7df4df5ba87b5e752c81b276959e797'] = 'Selection successfully deleted'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_84b4d8c8cdd02488c0f868e97b22a3c2'] = 'Creation successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_151648106e4bf98297882ea2ea1c4b0e'] = 'Update successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_23b865d0b880b74fa330741e1cb25b73'] = 'The new version check has been completed successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_def73ea130852d9e7813ee61eefa24e7'] = 'Settings update successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_ee05efe0548fdafc9e85cb4c34fbe845'] = 'Image successfully deleted'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_7cfc3f369b8123e1c2d22a37b31a49a7'] = 'Module downloaded successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_6175b106e638d4dd873cb3ff96724392'] = 'Thumbnails successfully regenerated'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_ad3737feaf28ed81b4073c7113f6228e'] = 'Message sent to the customer'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_e41431d37c0f818843740e11a69c5ec2'] = 'Comment added'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_a7c974ac23201089a5d17536bbb09f05'] = 'Module installed successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_bbaed3b1f842925ef862ec19261744d8'] = 'Module uninstalled successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_2c76ba09452e3da727ed4e65cf2f2593'] = 'Language successfully copied'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_9469a4605b719b91e2cdac9e3bbf460d'] = 'Translations successfully added'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_16c64b6f203dd2b0a840184ef902a704'] = 'Module transplanted successfully to hook'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_46b1b35fd252d60dd4d1b610a9224943'] = 'Module removed successfully from hook'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_2df9f8b8654e79c091ab5f33c9e1b67b'] = 'Upload successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_b85b9d2e7e1153bd3d5a4bb0f57d347b'] = 'Duplication completed successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_4402aa7e384266cd7d0350c1cc9a0123'] = 'Translation added successfully but the language has not been created'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_2aa80a00e1c76b0c14ef567e0e322a0e'] = 'Module reset successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_40606a2d55f7c33c732f1d3c1b5b1e66'] = 'Module deleted successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_0c6992101fe78e4f1ae3f391c485de29'] = 'Localization pack imported successfully'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_d4fecde5ac83b59cc690fd4d26d79abe'] = 'Refund Successful'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_795aa39f13629841edad6c04d3aca405'] = 'Images successfully moved'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_93cba07454f06a4a960172bbd6e2a435'] = 'Yes'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_c6e98a4b0af7d0f66842f744d999e436'] = 'In order to use a new theme, please follow these steps:'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_432eb00cc8aace97c632fea212575b51'] = 'Import your theme using this module:'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_2b5bde814a5f94ea73f447cdbcfb49fd'] = 'Theme installer'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_64915993f11c4fbd47d8a6465f44125c'] = 'When your theme is imported, please select the theme in this page'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_21034ae6d01a83e702839a72ba8a77b0'] = '(tax excl.)'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_c770d8e0d1d1943ce239c64dbd6acc20'] = 'Add my IP'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_6a7a397c4d4b5842440eb4eab1f7af8c'] = 'if you change the theme, the settings.inc.php file must be writable (CHMOD 755 / 777)'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_38fb7d24e0d60a048f540ecb18e13376'] = ' Save '; +$_MODULE['<{autoupgrade}prestashop>adminselftab_19f823c6453c2b1ffd09cb715214813d'] = 'Required field'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_0557fa923dcee4d0f86b1409f5c2167f'] = 'Back'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_630f6dc397fe74e52d5189e2c80f282b'] = 'Back to list'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_32397e87e6e403cbad4f3d26385ad6ef'] = 'You do not have permission to add here'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_ddcaee4edc8938535941b620ae5ec359'] = 'You do not have permission to edit here'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_0470d45929f27e1161330164c423b415'] = 'Set required fields for this section'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_e54b38290c8bdd95e8bc10412c9cc096'] = 'Required Fields'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_81f32b96f6626b8968e6a0f4a9bce62e'] = 'Select the fields you would like to be required for this section.'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_ee9b2f3cf31c23c944b15fb0b33d6a77'] = 'Field Name'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_5f010bff822f60730a2ce82bf4e996ed'] = 'The field named %s is required.'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_cc59329bfcbfff0fe8f6cb50571ebe46'] = 'The field named %1$s is required at least in the %2$s language.'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_86fd808b199a8633c43be9407f98e365'] = 'The field named %1$s is too long (%2$s chars max).'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_300d1d56be6fd86077c2553c2e5a281d'] = 'The field named %1$s (for %2$s language) is too long (%3$s chars max, including HTML chars).'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_01f8544c8fd4628bc686502e8b727d95'] = 'the field'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_998b344cff693ad388a14ba89b1523c7'] = 'is invalid'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_07213a0161f52846ab198be103b5ab43'] = 'errors'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_6357d3551190ec7e79371a8570121d3a'] = 'There are'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_4ce81305b7edb043d0a7a5c75cab17d0'] = 'There is'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_3879149292f9af4469cec013785d6dfd'] = 'warnings'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_7b83d3f08fa392b79e3f553b585971cd'] = 'warning'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_8a3cfd894d57e33c55400fc9d76aa08a'] = 'Click here to see more'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_a92269f5f14ac147a821728c23204c0b'] = 'Hide warning'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Enabled'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabled'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_ed75712b0eb1913c28a3872731ffd48d'] = 'Duplicate'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_bfc18def58cfa50029d149e9b932e974'] = 'Copy images too?'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_4351cfebe4b61d8aa5efa1d020710005'] = 'View'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_7dce122004969d56ae2e0245cb754d35'] = 'Edit'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_0071aa279bd1583754a544277740f047'] = 'Delete item #'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_6adab6d3fdf92c448d60cf8824e4851c'] = 'Delete selection'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Delete selected items?'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_cc3787ca78f445f481069a4c047f7e7a'] = 'Choose language:'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_b51d77dc443d4051900f1bad9fe885aa'] = 'Your are currently connected with the following domain name:'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_6aa5c0d2cbc4a0f53206777be432056a'] = 'This one is different from the main shop domain name set in "Preferences > SEO & URLs":'; +$_MODULE['<{autoupgrade}prestashop>adminselftab_7e4b7faf0fc36dc296e66f6ea3096dcd'] = 'Click here if you want to modify the main shop domain name'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bb7748991e29366d42f8fa2c361f4d55'] = 'Back up my files and database'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e53b4fd73748419564a1742f66ba631f'] = 'Automatically back up your database and files in order to restore your shop if needed. This is experimental: you should still perform your own manual backup for safety.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d5342bfd5b032cd75faeebdf2a918a79'] = 'Back up my images'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9a2cad898ee3d0ea4573946becdec9cf'] = 'To save time, you can decide not to back your images up. In any case, always make sure you did back them up manually.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5243e62512552a2cd6369e446bbf10f4'] = 'Server performance'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a94e6f7e27ad55c963170658ee6a9e28'] = 'Unless you are using a dedicated server, select "Low".'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e435ab00f5e0606f46337fdc73164ff'] = 'A high value can cause the upgrade to fail if your server is not powerful enough to process the upgrade tasks in a short amount of time.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_73ae0e1bfd470f9e26dac64d270cda9d'] = 'Low (recommended)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_87f8a6ab85c9ced3702b4ea641ad4bb5'] = 'Medium'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_655d20c1ca69519ca647684edbb2db35'] = 'High'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_26f07ad840fb1c17d29f5be0f428f015'] = 'Disable non-native modules'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_70c06c37194d755dd9aef11cf0469981'] = 'As non-native modules can experience some compatibility issues, we recommend to disable them by default.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_469ab377c49ea68b2ecdfe76d628a53b'] = 'Keeping them enabled might prevent you from loading the "Modules" page properly after the upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_fa2508196ef3391139d01d8d38b2c1bb'] = 'Upgrade the default theme'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_837f859cdd8b16024d72169ed315e9b5'] = 'If you customized the default PrestaShop theme in its folder (folder name "prestashop" in 1.4, "default" in 1.5, "bootstrap-default" in 1.6), enabling this option will lose your modifications.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_97a989a73b46233ae4330fb7682a70a2'] = 'If you are using your own theme, enabling this option will simply update the default theme files, and your own theme will be safe.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_92991497ed914de6bb7795b701b4c6e4'] = 'Switch to the default theme'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c7ae0af8d5653beb68b344415aca135d'] = 'This will change your theme: your shop will then use the default theme of the version of PrestaShop you are upgrading to.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5a6925648fc1286cae7924e80690d3a7'] = 'Upgrade the default e-mails'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9770c64dad08073b1291334767e0f99c'] = 'This will upgrade the default PrestaShop e-mails.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bd25c8f0a4d9745cbefc666500c45c84'] = 'If you customized the default PrestaShop e-mail templates, enabling this option will lose your modifications.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_947a49c0d390e5984c04751dfaeef83e'] = 'Step by step mode'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5daa24f177056cf9b1ac69738471bca9'] = 'Allows to perform the upgrade step by step (debug mode).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e803dd4410d411c286544d04af33732e'] = 'Display PHP errors'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d5e479152ae739641ca1bc69cbab0b3e'] = 'This option will keep PHP\'s "display_errors" setting to On (or force it).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_04c9fb8fb8679a8fbaf09f5a3568f0a9'] = 'This is not recommended as the upgrade will immediately fail if a PHP error occurs during an Ajax call.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_36be1130454bc8c4e0a41d36fa062a8b'] = 'unable to create directory %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6215d33db0d099fcaae168dd4715135a'] = 'Unable to write in the directory "%s"'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dec33e9cf9ab739bc3a27b98b343a4ef'] = 'unable to create file %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_56195ded2802813800f43e3be1babe1c'] = 'Error when trying to delete backups %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a520e5cbdc465c7b7d39c98f78fe2506'] = 'Restoration process done. Congratulations! You can now reactivate your shop.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2a7e17be5dc799b0c478ec5f576f0713'] = 'Upgrade process done. Congratulations! You can now reactivate your shop.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7a32329d6776ff98d77f7344caf7e00b'] = 'Upgrade process done, but some warnings have been found.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d2b9f1e39aa8e96bb61f3a4bfe133f58'] = '%s removed'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_75802ba44ba3369defd92ef897bf2f21'] = 'Please remove %s by FTP'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_93cba07454f06a4a960172bbd6e2a435'] = 'Yes'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_38fb7d24e0d60a048f540ecb18e13376'] = ' Save '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_19f823c6453c2b1ffd09cb715214813d'] = 'Required field'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f2ff9d001d0a553c78da73443e7fcd97'] = 'Configuration successfully updated.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_40b980e89ae332507380470cd26cdf4d'] = 'This page will now be reloaded and the module will check if a new version is available.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1d1a5763d2901dbd435b378358a149b4'] = 'File %s does not exist. Unable to select that channel.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c944c279a9e87437e100f65b8c87c391'] = 'Version number is missing. Unable to select that channel.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ab232f4b20c0e50dad9081bc39382569'] = 'Upgrade process will use archive.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1fe9dd96f646eaa0cd3a0fcc7632ce12'] = 'Error on saving configuration'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_02a400be38a385b3aa5a07df9a39e9d7'] = '%1$s files will be modified, %2$s files will be deleted (if they are found).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c6fd96a9aed05923b617fdc8d98d1181'] = 'No diff files found.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_335b4c111b193a855539368676837af4'] = 'Unable to check files for the installed version of PrestaShop.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4ad974c7f06be7aa3ce318299d3b5dbb'] = 'Unable to check files'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8d8e0207549d32c6f864246403034279'] = 'Core files are ok'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8ed8bd0ec34ae857cb99e4196d3154f4'] = '%1$s file modifications have been detected, including %2$s from core and native modules:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ca895e37bd5dfe413d7ffdd592580117'] = 'Starting upgrade...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c96aad12b8ec23c5788682f0e5e0999d'] = 'Skip downloading and unziping steps, upgrade process will now remove sample data.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b06a965d6f83ecc3c04eefe175482f1d'] = 'Shop deactivated. Removing sample files...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_12a183559f01986a8b177528124e1b4b'] = 'Skip downloading step, upgrade process will now unzip the local archive.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1a74ca8250ceb3e4df43a70181064e03'] = 'Shop deactivated. Extracting files...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a3e702f156f1b517ba98d2487f58bd91'] = 'Shop deactivated. Now downloading... (this can take a while)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_10b5aa33077df49427f04cd33ad3843f'] = 'Downloaded archive will come from %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_da652b8ece8ba2da84d5f5116f6ef63e'] = 'MD5 hash will be checked against %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_654f7ceb787fd455c166d5d8744cbf90'] = '"/latest" directory has been emptied'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7dce6149440985f89756b4c451d7dc03'] = 'File extraction complete. Removing sample files...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_89640d2ed666aab722d12be60a61938d'] = 'Unable to extract %1$s file into %2$s folder...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_115437a77cd81057e681ff2e12b14192'] = 'It\'s not a valid upgrade %s archive...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_064a15c7711dd82e5026a17a453b3a3b'] = 'Extraction directory is not writable.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_01d9d38b1d4d8eff5b530eeecfd3ccd5'] = 'Extraction directory %s is not writable.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_99f0e3a6d61b6d39da9213c647fd35ce'] = '[ERROR] %s does not exist or is not a directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d8316e26b7d1322f4445d3ffeec4bcfb'] = 'Nothing has been extracted. It seems the unzipping step has been skipped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2de9cd00fdcc22adb43ea03f2a09dee5'] = '[ERROR] Unable to find files to upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c165b990be724cefca897c7c4cc70cac'] = 'Unable to list files to upgrade'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5479863b0426e29c3a17a3f9cc6e3746'] = '%s files will be upgraded.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f7c02592a962e40a920f32f3a24f2df'] = 'filesToUpgrade is not an array'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6274f940a4c03421253b1acc4064349e'] = 'All files upgraded. Now upgrading database...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_41deb3bc122b8e650d7a4758ea95f5c3'] = 'Error when trying to upgrade file %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b0f289346085535bae89eadc15991f24'] = '%1$s files left to upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_078a325fbcc1dbd50bd9f969ce954965'] = '%2$s files left to upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8994f47952b9b29743e45a72ed30707c'] = 'Nothing has been extracted. It seems the unzip step has been skipped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0530243ad5b9bd205a04b975d3ef8aaf'] = '%s modules will be upgraded.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0f786a53b1674815c24679ed64770223'] = 'upgradeModule step has not ended correctly.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1baa2ea6cee198c6b7f19011431dcc73'] = 'listModules is not an array. No module has been updated.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d88a8630bd4e8fdbd61c550e53d62a94'] = '%s modules left to upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_fb9740393108d477fc3606647cb14ee7'] = '%1$s module is not compatible with 1.5.X, it will be removed from your ftp.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7bb21f802330e2539d8342f05c0cd78f'] = '%1$s module is not compatible with 1.5.X, please remove it from your ftp.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f0d18de100ab33463602ea5b8165d842'] = 'Addons modules files have been upgraded.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_35687f9e2d83cd9e89860c47fb3a7bbd'] = 'The files of module %s have been upgraded.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2743947c7353cf849fbff70085764d76'] = '[WARNING] Error when trying to upgrade module %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0aebfe257803d2dc4f444fe079edd7ec'] = '[ERROR] Unable to write module %s\'s zip file in temporary directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_36d56d20b3894281531cd4108e2c4cec'] = '[ERROR] No response from Addons server.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_eac34868b4fb511702e53d1405c45454'] = 'Error during database upgrade. You may need to restore your database.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_08ee54c048e1589f4072a351035db2ad'] = 'Database upgraded. Now upgrading your Addons modules...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ead14b0273e8d6cae7d146130d4be8f6'] = 'The database has been cleaned.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0bebfc8987ec38d90350bf4ac3e7e391'] = 'Don\'t forget to clear your cache (Advanced parameters > Performance > Clear cache)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e0ab14f314654aac28f3a3227896079f'] = 'directory is missing in archive or directory'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_55c1713f90add7c448328323af0c1b9d'] = 'You cannot upgrade to this version.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3b8f044559a7568ea572776caf1d6526'] = 'The config/settings.inc.php file was not found.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_22f18bac5d420d7ac5aca37b1afe30c9'] = 'Current version: %1$s. Version to install: %2$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6b81346a0c9173213e0c32d0082dc073'] = 'Current version: %1$s. Version to install: %2$s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f8498f0014f0b834b635ad879ae1b3fd'] = '[ERROR] Version to install is too old.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_89928a14f2090aec4fd7aff9ea983f95'] = 'There is no older version. Did you delete or rename the config/settings.inc.php file?'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b3884f9e8ed49a8d7165787d3adec342'] = 'Invalid database configuration'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f25792b5b08a78dd01810297d219c10c'] = 'Unable to find upgrade directory in the installation path.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8abd985d095a1282f6f01b98c121b41b'] = 'Cannot find the SQL upgrade files. Please check that the %s folder is not empty.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bf3abb5f80807c7453c246193372e1ae'] = '%s is not a valid version number.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f8b97ae2c4f8cc2a9dc74ca3d4306ce3'] = 'Error while loading SQL upgrade file "%s.sql".'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7e6f1194307c585ca2e97f81c3db4bb3'] = '[DROP] SQL %s table has been dropped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3c2e3b812ebc9bc95ccd9bf9086c4af7'] = 'An error happened during the database upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_257f5523f283710c6859d8f425a0c657'] = 'Database upgrade OK'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9dcf84f429818d396d05335d52ef5f42'] = '[SKIP] directory "%s" does not exist and cannot be emptied.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4cb8d96f333a2339fe544b96ee2740de'] = '[CLEANING CACHE] File %s removed'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9c7e0ba2c6ecb11af7f39843bbc18ff8'] = 'Warning detected during upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c4615fc8cb7877b074cbe9813cd742b1'] = 'Database upgrade completed'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f08c0f19e801344fe73ef0a0f4cd1dcb'] = 'Error when opening settings.inc.php file in write mode'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_38ef745d6a25e051fe2463983dd735b8'] = 'Error when generating new settings.inc.php file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_618bfc1f9ba85d07157a388208fe3ff8'] = 'Settings file updated'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c76662717bc0a1c0a601534af98f537b'] = '[NOTICE] File %s does not exist, merge skipped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cbdc88f921ee4831120cc2c516f9115b'] = '[WARNING] %1$s variable missing in file %2$s. Merge skipped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ef697ec05df3c9e19d683663849ec6dc'] = '[WARNING] %1$s variable missing in file %2$s. File %2$s deleted and merge skipped.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9a2f2cf276ea9f79b31a815897c0e3e6'] = '%s ignored'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4794a520f862841749c18466119acfed'] = '[WARNING] File %1$s has been deleted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cbfafdaa2e7968a86bd6a437027edfea'] = 'Directory %1$s created.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a61e66de5e0b581cc66f73f5662660c6'] = 'Error while creating directory %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6548fa42c02566c65bcf4be7eaf9612d'] = 'Directory %1$s already exists.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3cff0684b1efe09d70bd5c9a54389ff6'] = '[TRANSLATION] The translation files have been merged into file %1$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3a18d253ac081dd79cfeee690c90627c'] = '[TRANSLATION] The translation files have not been merged into file %1$s. Switch to copy %2$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b8db10001e04b8f947415aeb8b8fd19f'] = 'Copied %1$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6b9a4ce3d1e99d730ce3a56a0986d966'] = 'error for copying %1$s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_29e063a740d59d8759b52d4cf9c39fa0'] = 'Error while copying file %1$s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d75374f4463479bfc16764f06fc8d33e'] = '[ERROR] File %s is missing: unable to restore files. Operation aborted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_99db61185a28a3f862dcb99e891b2897'] = '[ERROR] No backup database files found: it would be impossible to restore the database. Operation aborted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0438424c05d45646dc089ef15df7e0e2'] = 'Restoring files ...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_222102295c3c6626ff141687b0f49b6b'] = 'Nothing to restore'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7ead6886c2e0fb40e873da8426e80988'] = '%s file(s) will be removed before restoring the backup files.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e3ca00e5b833d0a90d433416435dcaf5'] = '[ERROR] Backup file %s does not exist.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8dbf48bc796e7f70a17c63dd084bf068'] = '[ERROR] File "%s" does not exist.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2a2c187bdb804ba79fd4bf8972ba5073'] = 'Unable to remove upgraded files.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7575346d53af6b5bb70539f2cf9e87ea'] = 'Files from upgrade has been removed.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b582cb787be5a12424b3b8ed2cca3cd3'] = '%s files removed'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2c6bc2c84e0d76d1091e754d5780ab15'] = 'Error when removing %1$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_37dc35abea377bac2bcd5bf174ea7b57'] = 'File %s not removed.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_45303d089088042b5373afc26af8dc7f'] = '[NOTICE] %s deleted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_06a4c1e9de1558a80e838aeced377231'] = '[NOTICE] Directory %s skipped (directory not empty).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0eaea22b698a8194099f1eb6d5d35eb0'] = '[NOTICE] %s does not exist'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_509c213d2211a33977ce4ac516fe615a'] = '%s file(s) left to remove.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_671537225baa948d4c92cf4681283326'] = 'Files restored. Now restoring database...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cb7dce5f6a1934d54c0d3335c7ffe841'] = 'Files restored.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c9d5c2286b4b5212cba58d0dd4ab369d'] = 'Unable to extract file %1$s into directory %2$s .'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5ce67d010ab9c98ae1dbd6b5ea149982'] = 'Database backup is empty.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_24e93c50e3a9e22e8c948c7986cbeb66'] = 'Database restoration file %1$s done. %2$s file(s) left...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_55fc6682e256e387afb10ebf6c95aed5'] = 'Database restoration file %1$s done.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5b37242b8a0a39af0a9dc28abdabba28'] = 'Database has been restored.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e40517de82d2888877a24f233cef618e'] = '[SQL ERROR] '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b232a418538e3f6904357039ff7b1052'] = 'Error during database restoration'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_64736d2638d494df1bedffae7fa10c86'] = '%1$s queries left for file %2$s...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_30da45f850d1f1a2b42f215836382f19'] = 'Database restoration done.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_926abe867e8b1be1c0b053234cae77ba'] = 'Database backup skipped. Now upgrading files...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2b0e9a817cf34a8251bdf75c9b1cfefc'] = 'Backup directory is not writable '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d12ae4e7f0d20f4a4ca357d48e42877e'] = 'Backup file %s already exists. Operation aborted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d82896159c60199272e5ea481a733eba'] = 'Unable to create backup database file %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dcb7d833c69d6e0c3f009381c51f898e'] = 'Error during database backup.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_52033453d4d673bae012b9c8ccb1e79c'] = 'An error occurred while backing up. Unable to obtain the schema of %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ca3f0a9c2464acb36a341a9bf8df0e3f'] = '%1$s table has been saved.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0af2a5642ce31adf7b91aa934f4f57ae'] = '%1$s tables have been saved.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c2a086cb5c3373d7e11acbd3ace6a553'] = 'Database backup: %s table(s) left...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f5f6ee32184b6a03c5c9928cbefa07f7'] = 'No valid tables were found to back up. Backup of file %s canceled.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0e27b7ac485e03dabd5648acd5982dde'] = 'Error during database backup for file %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4b85e344355a8c135644f239db898749'] = 'Database backup done in filename %s. Now upgrading files...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e6de5ce7d70a6ed1e2d2d2a25c1bffb4'] = 'Error during backupFiles'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f2afc9e120786d21fd6809c836258669'] = '[ERROR] backupFiles filename has not been set'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_48f95ff09327408a578e91655ed872a1'] = '%s Files to backup.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_70960f2aa87d307170d3a1bc3e06d904'] = 'backup files initialized in %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9bebecbf68b6ce5a6d656c5ea793b762'] = 'Backup files in progress. %d files left'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_43021c1fdde702e1ce1aebb2a8bf6978'] = 'Using class ZipArchive...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cf460c5ac4a650da739cf774cd5f8944'] = 'Using class PclZip...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f36d7ee6cae92008008a95bf5898daf2'] = 'All files saved. Now backing up database'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f39b870765d50b64ba7a6facea83010d'] = 'All files have been added to archive.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_995d693d79b7f8a95c6b7b195970eed2'] = '%1$s added to archive. %2$s files left.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f1030e1e84ec150a7786a243cd7fb08'] = 'Error when trying to add %1$s to archive %2$s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c7c570b3566699e8c10eabb1a12c3b07'] = 'File %1$s (size: %3$s) added to archive. %2$s files left.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d85360d9b6992f471292bf16fe32a16d'] = 'File %1$s (size: %2$s) added to archive.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6e30d5ad868a1053455a9219e14883fc'] = 'File %1$s (size: %2$s) has been skipped during backup.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8a5062d4832b42720342c513d7d52f7d'] = '[ERROR] Error on backup using PclZip: %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b9a2db69065827812dd4b7a7f9ffc0b1'] = 'unable to open archive'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_41247d1e5ee2ca774bfdc3262ee1770b'] = 'All files saved. Now backing up database.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a3549a19c865da802e8aaaf45390d579'] = '%1$s items removed. %2$s items left.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d268ccafaebc89d9c5fec0e4de024456'] = 'Error while removing item %1$s, %2$s items left.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_344c592d141604c614c219fad3fa0dae'] = 'Starting to remove %1$s sample files'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6db37da3334e8a950c5bcdabc9fcf8f8'] = 'All sample files removed. Backup process skipped. Now upgrading files.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1d62b7d31a19dde578c4c56babef264a'] = 'All sample files removed. Now backing up files.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_65b259727ac87919e232bd9b63920f36'] = 'downloading from %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_549e11f82d3c02b92e5db1b38b858eb6'] = 'file will be saved in %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_42cfe8e0aff754a0951f95b5285171bc'] = 'download directory has been emptied'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3c2681ea85407c2c0d252e05a8eaf6aa'] = 'Download complete.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a55401a11251f53f612e950d4115e116'] = 'Download complete. Now extracting...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2d9a3f4a92c008b32903541e9af8aff0'] = 'Download complete but MD5 sum does not match (%s).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_df88998b6b9585bbcfd201186695b686'] = 'Download complete but MD5 sum does not match (%s). Operation aborted.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_412cb9a2978bf041be4ca6c6ded0030c'] = 'Error during download. The private key may be incorrect.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0c0db54fe8212c1a7215005fef75d7dd'] = 'Error during download'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_60a77be5a62b1c663b12ccaf97250986'] = 'Download directory is not writable.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5385901e5bed459563860e2f08a90a1c'] = 'Download directory %s is not writable.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6d60c7758acae39203ef1fadcbb2010b'] = 'You need allow_url_fopen or cURL enabled for automatic download to work.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_fb1ca1f5f3eb5a2ca85201f449525527'] = 'You need allow_url_fopen or cURL enabled for automatic download to work. You can also manually upload it in filepath %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a75d0dd3210dc796149dd5503a4b9b9f'] = '[WARNING] Property %s is missing'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3bb38e7d0bfd5a02f7c06cae446fee86'] = 'action %s skipped'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b4302e98d94591ee9afa09e769b2ee63'] = 'action "%1$s" not found'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_760c4026bc5a0bd5378e6efc3f1370b4'] = 'Too long!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f2e28904946a09d8c7f36dd3ee72457'] = 'Fields are different!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e5110300599f995b9d8cfbe930fba83e'] = 'This email address is wrong!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2e170dfd78c2171a25605ececc0950a4'] = 'Impossible to send the email!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_015463558b0e4910ecff6b418977c872'] = 'Cannot create settings file, if /config/settings.inc.php exists, please give the public write permissions to this file, else please create a file named settings.inc.php in config directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_128a6722ff88445b488e4eb3319fa5b7'] = 'Cannot write settings file, please create a file named settings.inc.php in the "config" directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e930e2474c664a3a7e89ecfb8793694b'] = 'Impossible to upload the file!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_774fc7a0f56391abc5d8856f2436ca07'] = 'Data integrity is not validated. Hack attempt?'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8fd007bf08e0717537825a3e91cb4fcc'] = 'Impossible to read the content of a MySQL content file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_17a90b480e6f6b8d1214df46c8678015'] = 'Cannot access a MySQL content file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3d5c8f1d29b1a1dc4ea0673122e0d277'] = 'Error while inserting data in the database:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_17e1581d01152347bfaacd153b961379'] = 'The password is incorrect (alphanumeric string at least 8 characters).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_26b66034d6aa1380df1d30fe33e2e0f6'] = 'A PrestaShop database already exists, please drop it or change the prefix.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bc5e1163a15106f9e941a7603124709d'] = 'This is not a valid file name.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a9d82945b8603f0c8807958d7db9a24d'] = 'This is not a valid image file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b37eef07b764ea58eec9afe624e20a40'] = 'Error while creating the /config/settings.inc.php file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3d9f514d46849760ef1b1412e314fd99'] = 'Error:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c5bcaf2cc3be924182f0ec0e3124ed99'] = 'This PrestaShop database already exists. Please revalidate your authentication information to the database.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d7a99f61bb284d096ea4f221784af85a'] = 'An error occurred while resizing the picture.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_428c933bafbf262d693fbf1c22c03e5d'] = 'Database connection is available!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_76bd190129b7aefb90fdf42f09ec3ec7'] = 'Database Server is available but database is not found'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_045f4b5c3f990e5a26e2837495d68259'] = 'Database Server is not found. Please verify the login, password and server fields.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_757fc72e8d69106dd2cf9da22cc7adb1'] = 'An error occurred while sending email, please verify your parameters.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d18ad19290b3bfc3cd0d7badbb6cb6a3'] = 'Impossible to write the image /img/logo.jpg. If this image already exists, please delete it.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2368e33e3e01d53abb9b60061ab83903'] = 'The uploaded file exceeds the upload_max_filesize directive in php.ini'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a10ef376d9f4c877ac86d8e4350116bf'] = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f8fe8cba1625eaf8e5c253b041d57dbd'] = 'The uploaded file was only partially uploaded'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8c9067e52e4440d8a20e74fdc745b0c6'] = 'No file was uploaded.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2384d693d9af53b4727c092af7570a19'] = 'Missing a temporary folder'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f5985b2c059d5cc36968baab7585baba'] = 'Failed to write file to disk'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e54dfe54e03b0010c1fe70bd65cd5e6'] = 'File upload stopped by extension'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_32af3a59b50e98d254d6c03c5b320a94'] = 'Cannot convert your database\'s data to utf-8.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_989a45a4ca01ee222f4370172bf8850d'] = 'Invalid shop name'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_68499acecfba9d3bf0ca8711f300d3ed'] = 'Your firstname contains some invalid characters'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2399cf4ca7b49f2706f6e147a32efa78'] = 'Your lastname contains some invalid characters'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7d72600fcff52fb3a2d2f73572117311'] = 'Your database server does not support the utf-8 charset.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7186f703d20b263cfb91161418996e43'] = 'Your MySQL server does not support this engine, please use another one like MyISAM'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_24b481455c1b72b0c2539e7d516b9582'] = 'The file /img/logo.jpg is not writable, please CHMOD 755 this file or CHMOD 777'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5746b74663148afffd1350c97d4fcdfe'] = 'Invalid catalog mode'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e5459c4deb20b7842ac01e97390b334'] = 'No error code available'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dafe44b99256a7783bc37f4f949da373'] = 'This installer is too old.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_37ce0f29c7377c827e7247fe5645a782'] = 'You already have the %s version.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5276a8cbd9e3e467396089b267564f51'] = 'The config/settings.inc.php file was not found. Did you delete or rename this file?'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5908157f5787d0050586f5629562f1f0'] = 'Cannot find the SQL upgrade files. Please verify that the /install/upgrade/sql folder is not empty.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_580e4b216e324f675f0237cdb34b6c2d'] = 'No upgrade is possible.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_94c7530ebb30de665b276d6881cb2f7b'] = 'Error while loading SQL upgrade file.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b8286438fbb6c7df9129fadc5316c19f'] = 'Error while inserting content into the database'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_229ee8046cafc09ddaf46fb9db710e91'] = 'Unfortunately,'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e805a556799b7cef40e9760c81d99218'] = 'SQL errors have occurred.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5627353fd6ac678497af3ece05087068'] = 'The config/defines.inc.php file was not found. Where did you move it?'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_446c9e952debe114c86bbd9e5eea7d61'] = 'Rollback'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_946a7fdf02f1a9f08e6711d014e3bc47'] = 'After upgrading your shop, you can rollback to the previous database and files. Use this function if your theme or an essential module is not working correctly.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a4d88b46c8edb6b0ee2fb4d6bd0690b0'] = 'Choose your backup:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c629f24e672b4e1165ebf1c10b5c5c5d'] = '-- Choose a backup to restore --'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_69ff9aca0bd03b3981784593311d866a'] = 'The pre-Upgrade checklist'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_03f945bba76ea63369d50a340e5b17bf'] = 'The checklist is not OK. You can only upgrade your shop once all indicators are green.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1b631ee6d890a5d6f2ede2f386f5aa3d'] = 'Before starting the upgrade process, please make sure this checklist is all green.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0058c0de9990c3b6a816affc3ffac3ef'] = 'The 1-click upgrade module is up-to-date (your current version is v%s)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_06933067aafd48425d67bcb01bba5cb6'] = 'Update'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_801ab24683a4a8c433c6eb40c48bcd9d'] = 'Download'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a1b48c4a544d688c34c20950c74e474a'] = 'Your store\'s root directory is writable (with appropriate CHMOD permissions)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b398e46a283dd457aa7dc0302004208c'] = 'The "/admin/autoupgrade" directory is writable (appropriate CHMOD permissions)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6509fb64b7a0331814629513e36d1402'] = 'PHP\'s "Safe mode" option is turned off'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_027d4866414c87a3af00e3acf98f2012'] = 'PHP\'s "allow_url_fopen" option is turned on, or cURL is installed'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_49c20044e894d8cc2da7783adbf79f16'] = 'Your store is in maintenance mode'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_10f7f752bbed690312dff7e8814b6994'] = 'Click here to put your shop under maintenance'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2ec74fb71dd2f8f0111f2d74bfe7a7b3'] = 'PrestaShop\'s caching features are disabled'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2b1af926a233d2fd8826d281e03ae5d7'] = 'The mobile theme is disabled'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0c3d04ce8fc363ea466bc20e377367e6'] = 'PHP\'s max_execution_time setting has a high value or is disabled entirely (current value: %s)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_958f470d0b1c8fb2b9e62b48e8903299'] = 'unlimited'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8641eaacafab9d58e7e93a92ff318714'] = '%s seconds'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_aa9b0228ac4e3e44b836f79eebf5e481'] = 'Please also make sure you make a full manual backup of your files and database.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4e140ba723a03baa6948340bf90e2ef6'] = 'Name:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_987023af1c4e507ea04eb5069578f7f0'] = 'Version number:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3b3d06023f6353f8fd05f859b298573e'] = 'URL:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ededa0b9a77dd39dad86a79cdc2a7521'] = 'MD5 hash:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bca4ff8cbf5fd614a700ca81c820dc1b'] = 'Changelog:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_39089ec5b14aadac3156e62cde5027b1'] = 'see changelog'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_628decaabab912af39cfda7aaf47b059'] = 'Major release'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_43899376e3f4d4cb70dad59c81a4b957'] = 'Minor release (recommended)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1436348d2e10c88964c87efe3ebe7e4c'] = 'Release candidates'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3da4e7a86631518f47d8cedf7f09a5ed'] = 'Beta releases'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0c960ac8fc33e1516a568248519b4d03'] = 'Alpha releases'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8ed3e1637b29848c46224287390822ad'] = 'Private release (require link and MD5 hash)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_15e90667b50b56b1f8a01bdb1190f3dc'] = 'Local archive'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_17897209dd708b862fe417f6d429a8da'] = 'Local directory'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3b3d4b4b6a128cfeafc8e3f8987ddb9b'] = 'Channel:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e710e20abcca585174701a265f39885f'] = 'This option regroup all stable versions.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ef2f59f06132ddc2e1bc8d00abbe6e02'] = 'Link:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6e843a36f447872179db90ceff68d970'] = 'Hash key:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b77d20ed1ba7b2ee7139dc4f3fd13117'] = 'Allow major upgrade:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_780daf2510c5c9e1c58948f138629817'] = 'Archive to use:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_db992f14c2e79f2e8650cdb5d918f27f'] = 'choose an archive'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0bce225c5aed0aaee0d357a11a079962'] = 'to upgrade for version'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5be0150b075f706fc27b09753ce6646d'] = 'No archive found in your admin/autoupgrade/download directory'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4b0319a87fb1baabe2fdb810e5cd4e62'] = 'This option will skip the download step.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d477bfdc10c5b1dc8afaf9018555e28f'] = 'The archive in the directory %1$s will be used for upgrading.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_58a7807a7c90ca70d471aeab775f32a9'] = 'The directory %1$s will be used to upgrade to version '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_59934c8d535a30c791e371449d6b564c'] = 'This option will skip both download and unzip steps.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c9cc8cce247e49bae79f15173ce97354'] = 'Save'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e68a57463e52beb2b2d4d116085044e'] = 'More options (Expert mode)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d0285505fd09db653a4ec0fd3799f357'] = 'Expert mode'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_89f144934543c527b7b064ee64361d90'] = 'Please select your channel:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cdcf07ad291a3b7a0cc30b870705ba63'] = 'Channels are offering you different ways to perform an upgrade. You can either upload the new version manually or let the 1-Click Upgrade module download it for you.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_87ad8a8ff4a99ffd2e72d5e69765f830'] = 'The Alpha, Beta and Private channels give you the ability to upgrade to a non-official or unstable release (for testing purposes only).'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7d71d389caebafeecac50e98c8e14dec'] = 'By default, you should use the "Minor release" channel which is offering the latest stable version available.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_48c7c41b72e1d678923ce3571aa65b2d'] = 'Step'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_eeb5a49c38d2d8c2baa51ed09beccf88'] = 'Upgrade steps'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2359934469520d062d98f6b3e91e1523'] = 'Version comparison'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_71aa2b9774b005c47f9cd225766b2045'] = 'PrestaShop Original version'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_68d0661e6a4150c4cc813001958f47f1'] = 'Differences between versions'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2b16564e6e838ce86608620b70beb570'] = 'Activity Log'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1f966606f0a941f655a4e9b7791a1ae0'] = 'Currently processing'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_21739f79b8e95f4187fce4fefb12af28'] = 'Analyzing the situation...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5ef0c737746fae2ca90e66c39333f8f6'] = 'Errors'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dc3fd488f03d423a04da27ce66274c1b'] = 'Warning!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_95095fc4bbc8b42ec512cfb1cfa19d8a'] = 'You are using PHP %s version. Soon, the latest PHP version supported by PrestaShop will be PHP 5.4. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.4 now!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e58eae3d7ced672a49b5716587b15f89'] = 'Start your Upgrade'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5784315a8bcebe79611d3353723e010d'] = 'Congratulations, you are already using the latest version available!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_da3cd17bbbbd3ef7da8e817d3c4cdb46'] = 'You come from the future! You are using a more recent version than the latest available!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_762b3814b0c85540ac4be47c7815fc0c'] = 'Your current PrestaShop version'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_40cb0f190ec55b9721df3aed84b0b29b'] = 'Latest official version for %1$s channel.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_382b0f5185773fa0f67a8ed8056c7759'] = 'N/A'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7926343e047e18778b6819beb8468086'] = 'You use Smarty 3'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a9bf52016ab038b62d072d35039a76b4'] = 'Smarty 2 is deprecated in 1.4 and was removed in 1.5. You may need to upgrade your current theme or use a new one.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d19581ebc0d99bfda1b0bb789dc65c5f'] = 'Smarty 3 Usage:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_411d9b409e4b9a6c2db930dae9f1feb1'] = 'Edit your Smarty configuration'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7f6336f29afd114798bf8ff3e6f2f9c9'] = 'PrestaShop will be downloaded from %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a0c7f60d480662bb235ca5e204d71883'] = 'open changelog in a new window'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7f07c36a3eb42fc24f4777e3619316f0'] = 'No file will be downloaded (channel %s is used)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_604862f03b56fde085c8f0350f63d707'] = 'The following action are automatically replaced'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a14d4d3e7a25e288bacd896ca2eda847'] = '%1$s will be replaced by %2$s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a07a3b4fc3a73fd0a8014aa40819c357'] = 'To change this behavior, you need to manually edit your php files'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ef754ad37c689704ede322b9a6ae66a7'] = 'Check if a new version is available'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_89de86aa34494d545d8cbb4fff3a4e59'] = 'Last check: %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c7561db7a418dd39b2201dfe110ab4a4'] = 'never'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d6c41259de614f426844d7caeaf532ed'] = 'refresh the page'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_64acebe80a242d6dbb2013d92db337d9'] = 'Last datetime check: %s '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'This functionality has been disabled.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c1b55bdd4c292214e4ef2570ffe069dc'] = '[TECHNICAL ERROR] ajax-upgradetab.php is missing. Please reinstall or reset the module.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_96f1fa7f23402c1307c8e2c57c6bccfa'] = '1-click Upgrade'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9a843f20677a52ca79af903123147af0'] = 'Welcome!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f0afedd1444b8ac9f765b544cb5b4911'] = 'With the PrestaShop 1-Click Upgrade module, upgrading your store to the latest version available has never been easier!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_68e5fa63e9c51108b49d3d643ec36972'] = 'Please always perform a full manual backup of your files and database before starting any upgrade.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a1f24b1cec5482ed0d97bce1ba0570a4'] = 'Double-check the integrity of your backup and that you can easily manually roll-back if necessary.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0a8276f35797dc24e6ccb5b5ff5cf102'] = 'If you do not know how to proceed, ask your hosting provider.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b4394573ea968922ac1d7323cb8f99ed'] = 'Please check the pre-upgrade checklist.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Next'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_564b7c9d8683f1a94798e9f7449564e4'] = 'Upgrade Options'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_017697f698d570dffed5f88a5a933d01'] = 'Backup Options'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d1cf02f3b502ad45947b846659c7774e'] = 'Upgrade to PrestaShop %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_49c77c6b39fac5ce46832752e6612e9d'] = 'Upgrading to PrestaShop %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b3e205a87c7cf99915d86ffe496f1706'] = 'Migrating from PrestaShop %s to the PrestaShop %s version will have a HUGE impact on your store.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_14eb234037a8860589f68e1f34a55fd8'] = 'You will not be able to use your current theme, modules and advanced stock data as soon as your store is upgraded to %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_14848bb4861807d41b2ef22f0288f90b'] = 'Please also make sure that your server installation meets the minimum requirements:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ba4e6bdd93c2f0c0e133bb94c27623ad'] = '%s folder exists'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_49ed9b3e9429a4ae5f4fc1374e38140d'] = 'Required system functions are enabled (fopen, file_exists, chmod)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9a92bff0f2bacca85a22045df0ff05a7'] = '%s function is enabled'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_325be51f87717509d7c5b87d45456066'] = '%s extension is enabled'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5061608b21c002a371d190e7143c18c2'] = 'Your installation lacks some of the minimum requirements. Please check and try again.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c8d34e1c03a7c711ce6e83ea9b009219'] = 'My pre-Upgrade checklist is all good'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_95245f604c0c0d24367f7ecac6124eb7'] = 'My files and database are backed up'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_895c15664c5de8fdbcb6d41d80ead6c1'] = 'I understand my current theme will not work with my %s shop'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5eb0aaf0b783306cb2ea57335b0210a9'] = 'I am aware most of my modules will not be compatible with my %s shop'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_915151576a249f2ff2662d5fc79859ad'] = 'I understand I will no longer have my advanced stock management configuration and data'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a5d2d90f3698f0f7acab269070d0a232'] = 'I will have to reconfigure my permissions'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f93dc2c54e04a6b770f3e0fd1058a31f'] = 'If I have a custom menu in my back office, I will no longer be able to use it'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8f5f497d082e9f08ec8102a1d436a75b'] = 'Switch to %s for good!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f15547fe5f9f307bd42b2c01657efbcb'] = 'Your server cannot download the file. Please upload it first by ftp in your admin/autoupgrade directory'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f0c0004ed469d436fae1c0c84a5c7687'] = 'You need to check all conditions'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_48995d15304fe79fc0240bf6544f2395'] = 'Are you sure you want to delete this backup?'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f1a1fb67c8350e8881bc59f09e42d5ab'] = 'Click to refresh the page and use the new configuration'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f03a04d1f440e359840035679b49b212'] = 'An update is currently in progress... Click "OK" to abort.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_98a399b35ec9e03ec985254acfe5e3a0'] = 'Upgrading PrestaShop'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e02d726a7e733ffb7737e53c89be5e4f'] = 'Upgrade complete'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c5e0a7b512fd616279924a1396bb0802'] = 'Upgrade Complete!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f67d595b77c8c85da5434ddf41b840d4'] = 'Upgrade complete, but warning notifications has been found.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a9cb4ff8ba5698ccdc9672435be31d24'] = 'Cookies have changed, you will need to log in again once you refreshed the page'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_546c6a7b5ca345af3880bfc74a339606'] = 'Javascript and CSS files have changed, please clear your browser cache with CTRL-F5'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_19ea4327ee1bad0ed94b42a77255f3c6'] = 'Please check that your front-office theme is functional (try to create an account, place an order...)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c12803674a35ccc28e5da00a50a84591'] = 'Product images do not appear in the front-office? Try regenerating the thumbnails in Preferences > Images'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e27d0a2f9e5caa433fc14667a1a3a15a'] = 'Do not forget to reactivate your shop once you have checked everything!'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bb64b7cb55bd1db0abc03b6884144113'] = 'ToDo list:'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bdec5eb7ca6ae2b5646bb9524df5579a'] = 'Restoration complete.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a8192fd08a431bf547ebf9a3eaa9b6bb'] = 'Javascript error (parseJSON) detected for action '; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ecb2935cd99ace66750ffdee7954f126'] = 'Starting restoration...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e47b67bdaa4f2c695e46ce1e5231aa9f'] = 'Error detected during'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4e265d12ee7ee679a4f40a4c4fde1208'] = 'The request exceeded the max_time_limit. Please change your server configuration.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c050dd9e80b7658fbf59103b2b982c5d'] = 'Manually go to %s button'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_67dab01827a619fdbcb137f18a83feb5'] = 'End of process'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3b388ab38f6539009cf82a0577205cd8'] = 'Operation canceled. Checking for restoration...'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e3d2f07a805f02286c6ad420a70478c4'] = 'Do you want to restore'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f234e8051cec7a79e996e67f179bd68b'] = 'Operation canceled. An error happened.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_95e42bb250909b740190f9a46e80070c'] = 'is missing. please reinstall the module'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1607e6098b7b62a2791653b059c975d2'] = 'See or hide the list'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_25b91596a896c6cf688104169b4b6a71'] = 'Core file(s)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_65f04958837ddd3643fd5edaee3a0f8d'] = 'Mail file(s)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_54aca96b35b48dd39265175f61b6bdd2'] = 'Translation file(s)'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6a103ec34561f1daa9e3028e78bf319b'] = 'Your server cannot download the file. Please upload it to your FTP server, and put it in your /[admin]/autoupgrade directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7f034b1e149cf228e8dfc51dcab6cb96'] = 'Theses files will be deleted'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_22f1a4b9e524d8fabb6f058bf3bb5a9f'] = 'Theses files will be modified'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8c4e88bd9187e21ab076fb9a92343e8b'] = 'Less options'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e3da2aa16a78084597288574550e7f39'] = 'Link and MD5 hash cannot be empty'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0fdb05748bf1f267f54c2353b9fa5fbb'] = 'You need to enter the version number associated with the archive.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f926e733c4f9087633a1be8c59cbd5e'] = 'No archive has been selected.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_69baf56a7bdc48c0637f98298742332d'] = 'You need to enter the version number associated with the directory.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3414adbd0397d764eec7f8900051331f'] = 'Please confirm that you want to skip the backup.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_43195fe6505d6439239d03e00a8e7310'] = 'Please confirm that you want to preserve file options.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9311ab161709b4f5efe9c6ff08b33699'] = '%s is not a file'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3d72a59cd44079c486a184a6a7bcec34'] = 'Unable to create directory %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9015190dc360d94efb0a5013a76697dd'] = 'Archive extracted'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_42a346b8cddc0d5a6b7494735eb68b10'] = 'zip->extractTo(): unable to use %s as extract destination.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0f9f19a4f5e93b3d5a94405e3af32a28'] = 'Unable to open zipFile %s'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a15762146514c451817fb7bb8cbecd96'] = '[ERROR] Error on extracting archive using PclZip: %s.'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3858aebfe7dce0a1dc398d199cb85a2b'] = '[ERROR] Unable to list archived files'; +$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ece95fa62a665fc3779168e698d6913a'] = 'File %s is preserved'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_bf544d00f0406f90f6e658a2571f5e9c'] = 'This version of PrestaShop cannot be upgraded: the PS_ADMIN_DIR constant is missing.'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_786cc166a84595ae291b2d8b26d93bb3'] = '1-Click Upgrade'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_990a862982b19c0c1266a4cf6afbdd96'] = 'Provides an automated method to upgrade your shop to the latest version of PrestaShop.'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_a1c06846db19625473aa4ffacb6307e4'] = 'Unable to delete outdated "AdminUpgrade" tab (tab ID: %d).'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_cade82f9025d8fb9d2af869af19c72b8'] = 'Unable to create the "AdminSelfUpgrade" tab'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_12de3725023e3c02c25c7898f524b25d'] = 'Unable to copy logo.gif in %s'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_5d7ef5c6fd32feb5d482ec1459e86f83'] = 'Unable to load the "AdminSelfUpgrade" tab'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_21dc065f2d8653ebca37ec552d17b37e'] = 'Unable to create the directory "%s"'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_6215d33db0d099fcaae168dd4715135a'] = 'Unable to write in the directory "%s"'; +$_MODULE['<{autoupgrade}prestashop>autoupgrade_10c008d228c9f35d12ce0437aa3eade9'] = 'Unable to copy ajax-upgradetab.php in %s'; + + +return $_MODULE; diff --git a/translations/es.php b/translations/es.php index 0d0d6f50b..793b56519 100644 --- a/translations/es.php +++ b/translations/es.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/fr.php b/translations/fr.php index 6c0c3f0bd..323330af4 100644 --- a/translations/fr.php +++ b/translations/fr.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/index.php b/translations/index.php new file mode 100644 index 000000000..dedd77e06 --- /dev/null +++ b/translations/index.php @@ -0,0 +1,35 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + +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; diff --git a/translations/it.php b/translations/it.php index 9bc4dfb69..4d9198879 100644 --- a/translations/it.php +++ b/translations/it.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/pl.php b/translations/pl.php index 19576ad06..c10287dd7 100644 --- a/translations/pl.php +++ b/translations/pl.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/translations/ru.php b/translations/ru.php index 24b36ceb6..5e2a3433b 100644 --- a/translations/ru.php +++ b/translations/ru.php @@ -1,4 +1,29 @@ + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ + global $_MODULE; $_MODULE = array(); diff --git a/upgrade/index.php b/upgrade/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/upgrade/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/upgrade/install-4-9-0.php b/upgrade/install-4-9-0.php deleted file mode 100644 index ea98a858a..000000000 --- a/upgrade/install-4-9-0.php +++ /dev/null @@ -1,30 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -function upgrade_module_4_9_0($module) -{ - return $module->registerHookAndSetToTop('dashboardZoneOne'); -} diff --git a/upgrade/install-4.10.1.php b/upgrade/install-4.10.1.php index 7fb22f015..aee950be3 100644 --- a/upgrade/install-4.10.1.php +++ b/upgrade/install-4.10.1.php @@ -48,7 +48,7 @@ function removeFromFsDuringUpgrade(array $files) return 'Deletion of file ' . $file . 'failed'; } } - + return true; } /** diff --git a/upgrade/install-4.9.0.php b/upgrade/install-4.9.0.php new file mode 100644 index 000000000..f8c4bd3b4 --- /dev/null +++ b/upgrade/install-4.9.0.php @@ -0,0 +1,33 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +if (!defined('_PS_VERSION_')) { + exit; +} + +function upgrade_module_4_9_0($module) +{ + return $module->registerHookAndSetToTop('dashboardZoneOne'); +} diff --git a/views/index.php b/views/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/views/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/views/templates/block/index.php b/views/templates/block/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/views/templates/block/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/views/templates/hook/dashboard_zone_one.tpl b/views/templates/hook/dashboard_zone_one.tpl index 4cd34dfaa..f4a3fe5e0 100644 --- a/views/templates/hook/dashboard_zone_one.tpl +++ b/views/templates/hook/dashboard_zone_one.tpl @@ -1,27 +1,21 @@ -{* -* 2007-2017 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} +{** + * 2007-2020 PrestaShop and Contributors + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.txt. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * @author PrestaShop SA + * @copyright 2007-2020 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + * International Registered Trademark & Property of PrestaShop SA + *}
diff --git a/views/templates/hook/index.php b/views/templates/hook/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/views/templates/hook/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/views/templates/index.php b/views/templates/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/views/templates/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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; diff --git a/views/templates/macros/index.php b/views/templates/macros/index.php new file mode 100644 index 000000000..45df26c54 --- /dev/null +++ b/views/templates/macros/index.php @@ -0,0 +1,34 @@ + + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + */ +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;