Fix: Notice sur styles

This commit is contained in:
Laurent Destailleur 2007-10-23 22:22:09 +00:00
parent 4174bca24c
commit 207fb63fe6
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ require("../../conf/conf.php");
header('Content-type: text/css');
// Important: Avoid page request by browser and dynamic build at
// each Dolibarr page access.
if (! $conf->global->MAIN_FEATURES_LEVEL)
if (! isset($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2)
{
//header('Cache-Control: max-age=3600, public, must-revalidate');
}

View File

@ -33,7 +33,7 @@ require("../../conf/conf.php");
header('Content-type: text/css');
// Important: Avoid page request by browser and dynamic build at
// each Dolibarr page access.
if (! $conf->global->MAIN_FEATURES_LEVEL)
if (! isset($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2)
{
header('Cache-Control: max-age=3600, public, must-revalidate');
}

View File

@ -32,7 +32,7 @@ require("../../conf/conf.php");
header('Content-type: text/css');
// Important: Avoid page request by browser and dynamic build at
// each Dolibarr page access.
if (! $conf->global->MAIN_FEATURES_LEVEL)
if (! isset($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2)
{
header('Cache-Control: max-age=3600, public, must-revalidate');
}

View File

@ -32,7 +32,7 @@ require("../../conf/conf.php");
header('Content-type: text/css');
// Important: Avoid page request by browser and dynamic build at
// each Dolibarr page access.
if (! $conf->global->MAIN_FEATURES_LEVEL)
if (! isset($conf->global->MAIN_FEATURES_LEVEL) || $conf->global->MAIN_FEATURES_LEVEL < 2)
{
header('Cache-Control: max-age=3600, public, must-revalidate');
}