diff --git a/config/smartyfront.config.inc.php b/config/smartyfront.config.inc.php index fd95a3eb..cee3b58e 100644 --- a/config/smartyfront.config.inc.php +++ b/config/smartyfront.config.inc.php @@ -36,8 +36,8 @@ if (Configuration::get('PS_JS_HTML_THEME_COMPRESSION')) $smarty->registerPlugin("function","printCouleur", "print_couleur"); function print_couleur($params, $smarty) { - $colors = ['#d2e1e6', '#d7e9e7', '#ebd1dc', - '#ddd6e1', '#efd2d4', '#ebebd9']; + $colors = array('#d2e1e6', '#d7e9e7', '#ebd1dc', + '#ddd6e1', '#efd2d4', '#ebebd9'); return $colors[array_rand($colors)]; } diff --git a/img/index.php b/img/index.php index 369a7a3f..cdfe9936 100644 --- a/img/index.php +++ b/img/index.php @@ -1,35 +1,35 @@ - -* @copyright 2007-2014 PrestaShop SA -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; + +* @copyright 2007-2014 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); + +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + +header("Location: ../"); +exit;