Jump to content

Mephistopheles

Members
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Mephistopheles

  1. You could try setting the cache headers directly as part of the script where the existing Content-Type header is being set.

    $mysidia = Registry::get("mysidia");
    header('Content-type: image/png');
    
    // add these
    $cache_for = 2419200; // One month in seconds 
    $cache_until = gmdate("D, d M Y H:i:s", time() + $cache_for) . " GMT";
    header("Expires: $cache_until");
    header("Cache-Control: max-age=$cache_for");
    • Like 1
  2. Please post your config.php file and remove any database credentials or other sensitive information. I suspect your SCRIPTPATH config variable is set incorrectly.

    These two lines don't match:

    /home/vol8_8/epizy.com/epiz_26559584/htdocs/home/vol8_8/epizy.com/epiz_26559584/htdocs/adopt//inc/smarty/Smarty.class.php'

    /home/vol8_8/epizy.com/epiz_26559584/htdocs/adopt/classes/class_mysidia.php

    They need to match in order to work.

×
×
  • Create New...