Fix: Notice sur styles
This commit is contained in:
parent
4174bca24c
commit
207fb63fe6
@ -31,7 +31,7 @@ require("../../conf/conf.php");
|
|||||||
header('Content-type: text/css');
|
header('Content-type: text/css');
|
||||||
// Important: Avoid page request by browser and dynamic build at
|
// Important: Avoid page request by browser and dynamic build at
|
||||||
// each Dolibarr page access.
|
// 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');
|
//header('Cache-Control: max-age=3600, public, must-revalidate');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,7 +33,7 @@ require("../../conf/conf.php");
|
|||||||
header('Content-type: text/css');
|
header('Content-type: text/css');
|
||||||
// Important: Avoid page request by browser and dynamic build at
|
// Important: Avoid page request by browser and dynamic build at
|
||||||
// each Dolibarr page access.
|
// 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');
|
header('Cache-Control: max-age=3600, public, must-revalidate');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@ require("../../conf/conf.php");
|
|||||||
header('Content-type: text/css');
|
header('Content-type: text/css');
|
||||||
// Important: Avoid page request by browser and dynamic build at
|
// Important: Avoid page request by browser and dynamic build at
|
||||||
// each Dolibarr page access.
|
// 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');
|
header('Cache-Control: max-age=3600, public, must-revalidate');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@ require("../../conf/conf.php");
|
|||||||
header('Content-type: text/css');
|
header('Content-type: text/css');
|
||||||
// Important: Avoid page request by browser and dynamic build at
|
// Important: Avoid page request by browser and dynamic build at
|
||||||
// each Dolibarr page access.
|
// 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');
|
header('Cache-Control: max-age=3600, public, must-revalidate');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user