From b50dbf89381a77b702112a22e7fe7b15cdd8fe13 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 25 Jan 2011 01:25:42 +0000 Subject: [PATCH] Fix: Style sheet can be into cache now. --- htdocs/theme/auguria/style.css.php | 1 + htdocs/theme/bureau2crea/style.css.php | 1 + htdocs/theme/eldy/style.css.php | 1 + htdocs/theme/freelug/style.css.php | 1 + htdocs/theme/phones/smartphone/theme/default/default.css.php | 2 ++ htdocs/theme/yellow/style.css.php | 1 + 6 files changed, 7 insertions(+) diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 256ede63d2d..2d17dff1075 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -35,6 +35,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); +session_cache_limiter( FALSE ); require_once("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php"); diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 98d830aa3fe..7e13640c51b 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -35,6 +35,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); +session_cache_limiter( FALSE ); require_once("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php"); diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 1de4cd9c272..407af7cf0fc 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -35,6 +35,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); +session_cache_limiter( FALSE ); require_once("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php"); diff --git a/htdocs/theme/freelug/style.css.php b/htdocs/theme/freelug/style.css.php index 8e4153a7102..1479842d179 100644 --- a/htdocs/theme/freelug/style.css.php +++ b/htdocs/theme/freelug/style.css.php @@ -34,6 +34,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); +session_cache_limiter( FALSE ); require_once("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php"); diff --git a/htdocs/theme/phones/smartphone/theme/default/default.css.php b/htdocs/theme/phones/smartphone/theme/default/default.css.php index e5331161bb0..501eae52c54 100644 --- a/htdocs/theme/phones/smartphone/theme/default/default.css.php +++ b/htdocs/theme/phones/smartphone/theme/default/default.css.php @@ -30,6 +30,8 @@ if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // We need to use translation files to know direction if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); +session_cache_limiter( FALSE ); + require_once("../../../../../master.inc.php"); // Define css type diff --git a/htdocs/theme/yellow/style.css.php b/htdocs/theme/yellow/style.css.php index 1aea85264c1..76f936c3aab 100644 --- a/htdocs/theme/yellow/style.css.php +++ b/htdocs/theme/yellow/style.css.php @@ -34,6 +34,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); +session_cache_limiter( FALSE ); require_once("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php");