diff --git a/YOUR_ADMIN/includes/init_includes/init_image_handler.php b/YOUR_ADMIN/includes/init_includes/init_image_handler.php index 588343c..17a1b6b 100644 --- a/YOUR_ADMIN/includes/init_includes/init_image_handler.php +++ b/YOUR_ADMIN/includes/init_includes/init_image_handler.php @@ -7,13 +7,13 @@ die('Illegal Access'); } -define('IH_CURRENT_VERSION', '5.3.3'); +define('IH_CURRENT_VERSION', '5.3.4'); // ----- // Wait until an admin is logged in before seeing if any initialization steps need to be performed. // That ensures that "someone" will see the plugin's installation/update messages! // -if (isset($_SESSION['admin_id'])) { +if (isset($_SESSION['admin_id']) && (!defined('IH_RESIZE') || !defined('IH_VERSION') || IH_VERSION !== IH_CURRENT_VERSION)) { // ----- // Determine the configuration group associated with "Images"; if not found, use the standard // configuration group ID of 4. diff --git a/bmz_cache/.htaccess b/bmz_cache/.htaccess index f3f8525..43e048d 100644 --- a/bmz_cache/.htaccess +++ b/bmz_cache/.htaccess @@ -1,7 +1,7 @@ # -# @copyright Copyright 2003-2013 Zen Cart Development Team +# @copyright Copyright 2003-2022 Zen Cart Development Team # @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 -# @version GIT: $Id: Author: DrByte Fri May 17 14:29:18 2013 -0400 Modified in v1.5.2 $ +# @version $Id: torvista 2022 Aug 03 Modified in v1.5.8-alpha2 $ # # This is used with Apache WebServers # @@ -19,24 +19,31 @@ # deny *everything* - Order Allow,Deny - Deny from all + + Require all denied + + + Order Allow,Deny + Deny from all + # but now allow just *certain* necessary files: - - Order Allow,Deny - Allow from all + + + Require all granted + + + Order Allow,Deny + Allow from all + IndexIgnore */* - ## NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS): # OPTIONS -Indexes -ExecCGI - - ################## ## Optional caching improvements ## Requires mod_headers to be enabled within Apache @@ -45,7 +52,7 @@ IndexIgnore */* Header unset Pragma FileETag None Header unset ETag - + Header set Cache-control "max-age=864000, public, must-revalidate" Header unset Last-Modified diff --git a/docs/image_handler/readme.html b/docs/image_handler/readme.html index 91f3a6f..05a48e8 100644 --- a/docs/image_handler/readme.html +++ b/docs/image_handler/readme.html @@ -1,5 +1,5 @@ - + @@ -65,7 +65,7 @@

Image Handler5 for Zen Cart v1.5.7 (and later)

-

Version 5.3.3 by lat9, Zen4All, brittainmark, torvista, proseLA and marco-pm

+

Version 5.3.4 by lat9, Zen4All, brittainmark, torvista, proseLA, marco-pm and pilou2

Current Support Thread at Zen Cart Forums: https://www.zen-cart.com/showthread.php?222983-Image-Handler-5-(for-v1-5-5)-Support-Thread

Notes:

@@ -425,6 +425,13 @@

Un-Install Instructions

    +
  • v5.3.4, 2023-07-02:
      +
    • BUGFIX: Correct /bmz_cache/.htaccess for Apache 2.4 installations (pilou2).
    • +
    • The following files were changed:
        +
      1. /bmz_cache/.htaccess
      2. +
      3. /YOUR_ADMIN/includes/init_includes/init_image_handler.php
      4. +
    • +
  • v5.3.3, 2023-04-26:
    • BUGFIX: Correct MySQL error on initial install due to unescaped single-quotes.
    • BUGFIX: Correct "Implicit conversion" PHP Warning.