honor jpeg orientation
[bizou.git] / index.php
index 32aa537..e77be4e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -77,9 +77,11 @@ if (dirname($simplePath) !== '')
 else
        $parentLink = "";
 
+plugins_include("before_tpl.php");
+
 ///// template starts here /////
 header('Content-Type: text/html; charset=utf-8');
-header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
+header('Cache-Control: max-age=3600');
 
 require 'template.php';