Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop

This commit is contained in:
Regis Houssin 2011-10-30 18:56:16 +01:00
commit a08352633d

View File

@ -38,6 +38,7 @@ require_once("../../main.inc.php");
// Define javascript type
header('Content-type: text/javascript');
header("Content-type: text/html; charset=UTF-8");
// Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
else header('Cache-Control: no-cache');