diff --git a/.php_cs b/.php_cs index 6f59d3e..9fddfe9 100644 --- a/.php_cs +++ b/.php_cs @@ -6,15 +6,15 @@ This file is part of the "Prestashop SEO ToolKit" module. (c) Faktiva (http://faktiva.com) NOTICE OF LICENSE -This source file is subject to the CC-BY-4.0 license that is -available at the URL https://creativecommons.org/licenses/by/4.0/ +This source file is subject to the CC BY-SA 4.0 license that is +available at the URL https://creativecommons.org/licenses/by-sa/4.0/ DISCLAIMER This code is provided as is without any warranty. No promise of being safe or secure @author AlberT -@license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 +@license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 @source https://github.com/faktiva/prestashop-seo-tk EOF; @@ -31,7 +31,7 @@ return Symfony\CS\Config\Config::create() )) ->finder( Symfony\CS\Finder\DefaultFinder::create() - ->in(__DIR__) + ->in(__DIR__.'/faktiva_seo_tk') ) ; diff --git a/README.md b/README.md index 67fee66..812f36e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [PrestaShop "SEO ToolKit"](https://github.com/faktiva/prestashop-seo-tk) === -[![SensioLabsInsight](https://insight.sensiolabs.com/projects/30806e55-0fe6-4323-ade1-fba266db8b4e/mini.png)](https://insight.sensiolabs.com/projects/30806e55-0fe6-4323-ade1-fba266db8b4e) +[![SensioLabsInsight](https://insight.sensiolabs.com/projects/d830cdd5-11a2-4ceb-8e07-96ce099305ee/mini.png)](https://insight.sensiolabs.com/projects/d830cdd5-11a2-4ceb-8e07-96ce099305ee) [![GitHub issues](https://img.shields.io/github/issues/faktiva/prestashop-seo-tk.svg?style=plastic)](https://github.com/faktiva/prestashop-seo-tk/issues) [![Packagist](https://img.shields.io/packagist/l/faktiva/prestashop-seo-tk.svg?style=plastic)](https://creativecommons.org/licenses/by-nc-sa/4.0/) @@ -52,9 +52,9 @@ The phylosophy is "Don't use robots.txt to tell robots to do not index a page, i # License -![Creative Commons BY-NC-SA License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png) +![Creative Commons BY-NC-SA License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png) -**[PrestaShop SEO ToolKit](https://github.com/faktiva/prestashop-seo-tk)** by [Faktiva](https://github.com/faktiva) is licensed under a **Creative Commons [Attribution-NonCommercial-ShareAlike](http://creativecommons.org/licenses/by-nc-sa/4.0/) 4.0 International License**. +**[PrestaShop SEO ToolKit](https://github.com/faktiva/prestashop-seo-tk)** by [Faktiva](https://github.com/faktiva) is licensed under a **Creative Commons [Attribution-ShareAlike](http://creativecommons.org/licenses/by-sa/4.0/) 4.0 International License**. Permissions beyond the scope of this license may be available contacting us at info@faktiva.com. diff --git a/composer.json b/composer.json index c2b999f..8e3a5bc 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,9 @@ "name": "faktiva/prestashop-seo-tk", "description": "\"PrestaShop SEO toolkit\" module. It handles a few SEO-related improvements, such as \"hreflang\", \"canonical\" and \"noindex\"", "homepage": "https://github.com/faktiva/prestashop-seo-tk", - "license": "CC-BY-NC-SA-4.0", + "license": "CC-BY-SA-4.0", "type": "prestashop-module", "authors": [ - { - "name": "ZiZuu Store", - "email": "info@ZiZuu.com" - }, { "name": "AlberT", "email": "albert@faktiva.com" @@ -20,15 +16,12 @@ "github-protocols": ["https"], "archive-format": "zip", "preferred-install": "dist", - "optimize-autoloader": true, - "platform": { - "php": "5.2" - } + "optimize-autoloader": true }, "require-dev": { - "friendsofphp/php-cs-fixer": "1.11", - "symfony/var-dumper": "~2.8|~3.0", - "symfony/debug": "~2.8|~3.0" + "friendsofphp/php-cs-fixer": "~1.10", + "symfony/var-dumper": "~2.0|~3.0", + "symfony/debug": "~2.0|~3.0" }, "require": { "php": ">=5.2" @@ -39,7 +32,7 @@ ], "zip": [ "@composer archive -vvv -f zip", - "php -r 'rename(array_shift(glob(\"faktiva-prestashop-seo-tk-*.zip\")), \"faktiva-seo-tk.zip\");'" + "php -r 'rename(@array_shift(glob(\"faktiva-prestashop-seo-tk-*.zip\")), \"faktiva_seo_tk.zip\");'" ] }, "archive": { diff --git a/composer.lock b/composer.lock index 321c2e4..3ad47ea 100644 --- a/composer.lock +++ b/composer.lock @@ -4,37 +4,41 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "55190c6034862748b3a71fff6e77f8de", - "content-hash": "e127bf5a3991183fa77df0608f005291", + "hash": "4005145e644aa6be1c7cb22d5fe48f1a", + "content-hash": "23d4e5bfb4890ca5fffae56055d4c2c1", "packages": [], "packages-dev": [ { "name": "friendsofphp/php-cs-fixer", - "version": "v1.11", + "version": "v1.12.2", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "bd3ec2c2b774e0e127ac2c737ec646d9cf2f9eef" + "reference": "baa7112bef3b86c65fcfaae9a7a50436e3902b41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/bd3ec2c2b774e0e127ac2c737ec646d9cf2f9eef", - "reference": "bd3ec2c2b774e0e127ac2c737ec646d9cf2f9eef", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/baa7112bef3b86c65fcfaae9a7a50436e3902b41", + "reference": "baa7112bef3b86c65fcfaae9a7a50436e3902b41", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3.6", - "sebastian/diff": "~1.1", - "symfony/console": "~2.3|~3.0", - "symfony/event-dispatcher": "~2.1|~3.0", - "symfony/filesystem": "~2.1|~3.0", - "symfony/finder": "~2.1|~3.0", - "symfony/process": "~2.3|~3.0", - "symfony/stopwatch": "~2.5|~3.0" + "php": "^5.3.6 || >=7.0 <7.2", + "sebastian/diff": "^1.1", + "symfony/console": "^2.3 || ^3.0", + "symfony/event-dispatcher": "^2.1 || ^3.0", + "symfony/filesystem": "^2.1 || ^3.0", + "symfony/finder": "^2.1 || ^3.0", + "symfony/process": "^2.3 || ^3.0", + "symfony/stopwatch": "^2.5 || ^3.0" + }, + "conflict": { + "hhvm": "<3.9" }, "require-dev": { - "satooshi/php-coveralls": "0.7.*@dev" + "phpunit/phpunit": "^4.5|^5", + "satooshi/php-coveralls": "^1.0" }, "bin": [ "php-cs-fixer" @@ -60,26 +64,34 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2015-12-01 22:34:33" + "time": "2016-09-27 07:57:59" }, { "name": "psr/log", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" + "reference": "5277094ed527a1c4477177d102fe4c53551953e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", + "url": "https://api.github.com/repos/php-fig/log/zipball/5277094ed527a1c4477177d102fe4c53551953e0", + "reference": "5277094ed527a1c4477177d102fe4c53551953e0", "shasum": "" }, + "require": { + "php": ">=5.3.0" + }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { - "psr-0": { - "Psr\\Log\\": "" + "psr-4": { + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", @@ -93,12 +105,13 @@ } ], "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ "log", "psr", "psr-3" ], - "time": "2012-12-21 11:40:51" + "time": "2016-09-19 16:02:08" }, { "name": "sebastian/diff", @@ -154,20 +167,21 @@ }, { "name": "symfony/console", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "747154aa69b0f83cd02fc9aa554836dee417631a" + "reference": "6cb0872fb57b38b3b09ff213c21ed693956b9eb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/747154aa69b0f83cd02fc9aa554836dee417631a", - "reference": "747154aa69b0f83cd02fc9aa554836dee417631a", + "url": "https://api.github.com/repos/symfony/console/zipball/6cb0872fb57b38b3b09ff213c21ed693956b9eb0", + "reference": "6cb0872fb57b38b3b09ff213c21ed693956b9eb0", "shasum": "" }, "require": { "php": ">=5.5.9", + "symfony/debug": "~2.8|~3.0", "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { @@ -210,20 +224,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-06-29 07:02:31" + "time": "2016-09-28 00:11:12" }, { "name": "symfony/debug", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "06e2d52e307ef880ac739f44ee6c2418ca9e3283" + "reference": "e2b3f74a67fc928adc3c1b9027f73e1bc01190a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/06e2d52e307ef880ac739f44ee6c2418ca9e3283", - "reference": "06e2d52e307ef880ac739f44ee6c2418ca9e3283", + "url": "https://api.github.com/repos/symfony/debug/zipball/e2b3f74a67fc928adc3c1b9027f73e1bc01190a8", + "reference": "e2b3f74a67fc928adc3c1b9027f73e1bc01190a8", "shasum": "" }, "require": { @@ -267,20 +281,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:41:56" + "time": "2016-09-06 11:02:40" }, { "name": "symfony/event-dispatcher", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5" + "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7f9839ede2070f53e7e2f0849b9bd14748c434c5", - "reference": "7f9839ede2070f53e7e2f0849b9bd14748c434c5", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c0c00c80b3a69132c4e55c3e7db32b4a387615e5", + "reference": "c0c00c80b3a69132c4e55c3e7db32b4a387615e5", "shasum": "" }, "require": { @@ -327,20 +341,20 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:41:56" + "time": "2016-07-19 10:45:57" }, { "name": "symfony/filesystem", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890" + "reference": "682fd8fdb3135fdf05fc496a01579ccf6c85c0e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/322da5f0910d8aa0b25fa65ffccaba68dbddb890", - "reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/682fd8fdb3135fdf05fc496a01579ccf6c85c0e5", + "reference": "682fd8fdb3135fdf05fc496a01579ccf6c85c0e5", "shasum": "" }, "require": { @@ -376,20 +390,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:41:56" + "time": "2016-09-14 00:18:46" }, { "name": "symfony/finder", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8201978de88a9fa0923e18601bb17f1df9c721e7" + "reference": "205b5ffbb518a98ba2ae60a52656c4a31ab00c6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8201978de88a9fa0923e18601bb17f1df9c721e7", - "reference": "8201978de88a9fa0923e18601bb17f1df9c721e7", + "url": "https://api.github.com/repos/symfony/finder/zipball/205b5ffbb518a98ba2ae60a52656c4a31ab00c6f", + "reference": "205b5ffbb518a98ba2ae60a52656c4a31ab00c6f", "shasum": "" }, "require": { @@ -425,7 +439,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:41:56" + "time": "2016-09-28 00:11:12" }, { "name": "symfony/polyfill-mbstring", @@ -488,16 +502,16 @@ }, { "name": "symfony/process", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0" + "reference": "66de154ae86b1a07001da9fbffd620206e4faf94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/5c11a1a4d4016662eeaf0f8757958c7de069f9a0", - "reference": "5c11a1a4d4016662eeaf0f8757958c7de069f9a0", + "url": "https://api.github.com/repos/symfony/process/zipball/66de154ae86b1a07001da9fbffd620206e4faf94", + "reference": "66de154ae86b1a07001da9fbffd620206e4faf94", "shasum": "" }, "require": { @@ -533,11 +547,11 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2016-06-29 05:42:25" + "time": "2016-09-29 14:13:09" }, { "name": "symfony/stopwatch", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -586,16 +600,16 @@ }, { "name": "symfony/var-dumper", - "version": "v3.1.2", + "version": "v3.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "39492b8b8fe514163e677bf154fd80f6cc995759" + "reference": "70bfe927b86ba9999aeebd829715b0bb2cd39a10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/39492b8b8fe514163e677bf154fd80f6cc995759", - "reference": "39492b8b8fe514163e677bf154fd80f6cc995759", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/70bfe927b86ba9999aeebd829715b0bb2cd39a10", + "reference": "70bfe927b86ba9999aeebd829715b0bb2cd39a10", "shasum": "" }, "require": { @@ -645,7 +659,7 @@ "debug", "dump" ], - "time": "2016-06-29 05:41:56" + "time": "2016-09-29 14:13:09" } ], "aliases": [], @@ -656,8 +670,5 @@ "platform": { "php": ">=5.2" }, - "platform-dev": [], - "platform-overrides": { - "php": "5.2" - } + "platform-dev": [] } diff --git a/config.xml b/faktiva_seo_tk/config.xml similarity index 89% rename from config.xml rename to faktiva_seo_tk/config.xml index 1e01cc5..9f7adda 100644 --- a/config.xml +++ b/faktiva_seo_tk/config.xml @@ -1,8 +1,8 @@ - faktiva-seo-tk + faktiva_seo_tk - + diff --git a/faktiva_seo_tk.php b/faktiva_seo_tk/faktiva_seo_tk.php similarity index 98% rename from faktiva_seo_tk.php rename to faktiva_seo_tk/faktiva_seo_tk.php index adbee42..d721cd0 100644 --- a/faktiva_seo_tk.php +++ b/faktiva_seo_tk/faktiva_seo_tk.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ @@ -81,7 +81,7 @@ public function __construct() $this->name = 'faktiva_seo_tk'; $this->author = 'Faktiva'; $this->tab = 'seo'; - $this->version = '1.4.0'; + $this->version = '1.4.1'; $this->need_instance = 0; $this->bootstrap = true; $this->ps_versions_compliancy = array('min' => '1.5.0.1', 'max' => _PS_VERSION_); diff --git a/index.php b/faktiva_seo_tk/index.php similarity index 75% rename from index.php rename to faktiva_seo_tk/index.php index 8d7a1cc..53f1382 100644 --- a/index.php +++ b/faktiva_seo_tk/index.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/logo.gif b/faktiva_seo_tk/logo.gif similarity index 100% rename from logo.gif rename to faktiva_seo_tk/logo.gif diff --git a/logo.png b/faktiva_seo_tk/logo.png similarity index 100% rename from logo.png rename to faktiva_seo_tk/logo.png diff --git a/tools/debug.php b/faktiva_seo_tk/tools/debug.php similarity index 73% rename from tools/debug.php rename to faktiva_seo_tk/tools/debug.php index 2fdfb63..e4e27f3 100644 --- a/tools/debug.php +++ b/faktiva_seo_tk/tools/debug.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/translations/et.php b/faktiva_seo_tk/translations/et.php similarity index 91% rename from translations/et.php rename to faktiva_seo_tk/translations/et.php index ca9c32d..d12e8df 100755 --- a/translations/et.php +++ b/faktiva_seo_tk/translations/et.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/translations/it.php b/faktiva_seo_tk/translations/it.php similarity index 91% rename from translations/it.php rename to faktiva_seo_tk/translations/it.php index 359ed04..1701754 100644 --- a/translations/it.php +++ b/faktiva_seo_tk/translations/it.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/views/templates/hook/index.php b/faktiva_seo_tk/upgrade/index.php similarity index 75% rename from views/templates/hook/index.php rename to faktiva_seo_tk/upgrade/index.php index 8d7a1cc..53f1382 100644 --- a/views/templates/hook/index.php +++ b/faktiva_seo_tk/upgrade/index.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/upgrade/install-1.4.0.php b/faktiva_seo_tk/upgrade/install-1.4.0.php similarity index 81% rename from upgrade/install-1.4.0.php rename to faktiva_seo_tk/upgrade/install-1.4.0.php index 4bdd997..b3de4bc 100644 --- a/upgrade/install-1.4.0.php +++ b/faktiva_seo_tk/upgrade/install-1.4.0.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/upgrade/index.php b/faktiva_seo_tk/views/index.php similarity index 75% rename from upgrade/index.php rename to faktiva_seo_tk/views/index.php index 8d7a1cc..53f1382 100644 --- a/upgrade/index.php +++ b/faktiva_seo_tk/views/index.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/views/index.php b/faktiva_seo_tk/views/templates/hook/index.php similarity index 75% rename from views/index.php rename to faktiva_seo_tk/views/templates/hook/index.php index 8d7a1cc..53f1382 100644 --- a/views/index.php +++ b/faktiva_seo_tk/views/templates/hook/index.php @@ -6,15 +6,15 @@ * (c) Faktiva (http://faktiva.com) * * NOTICE OF LICENSE - * This source file is subject to the CC-BY-4.0 license that is - * available at the URL https://creativecommons.org/licenses/by/4.0/ + * This source file is subject to the CC BY-SA 4.0 license that is + * available at the URL https://creativecommons.org/licenses/by-sa/4.0/ * * DISCLAIMER * This code is provided as is without any warranty. * No promise of being safe or secure * * @author AlberT - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 * @source https://github.com/faktiva/prestashop-seo-tk */ diff --git a/views/templates/hook/meta-canonical.tpl b/faktiva_seo_tk/views/templates/hook/meta-canonical.tpl similarity index 100% rename from views/templates/hook/meta-canonical.tpl rename to faktiva_seo_tk/views/templates/hook/meta-canonical.tpl diff --git a/views/templates/hook/meta-hreflang.tpl b/faktiva_seo_tk/views/templates/hook/meta-hreflang.tpl similarity index 100% rename from views/templates/hook/meta-hreflang.tpl rename to faktiva_seo_tk/views/templates/hook/meta-hreflang.tpl diff --git a/faktiva_seo_tk/views/templates/index.php b/faktiva_seo_tk/views/templates/index.php new file mode 100644 index 0000000..53f1382 --- /dev/null +++ b/faktiva_seo_tk/views/templates/index.php @@ -0,0 +1,29 @@ + + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk + */ + +header('Expires: Fri, 31 Dec 1999 23:59:59 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: ../'); +return; diff --git a/views/templates/index.php b/views/templates/index.php deleted file mode 100644 index 8d7a1cc..0000000 --- a/views/templates/index.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 - * @source https://github.com/faktiva/prestashop-seo-tk - */ - -header('Expires: Fri, 31 Dec 1999 23:59:59 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: ../'); -return;