29 |
\version $Revision$ |
\version $Revision$ |
30 |
*/ |
*/ |
31 |
|
|
32 |
|
// Pour le tuning optionnel. Activer si la variable d'environnement DOL_TUNING |
33 |
|
// est positionnée. A appeler avant tout. |
34 |
|
if (isset($_SERVER['DOL_TUNING'])) $micro_start_time=microtime(true); |
35 |
|
|
36 |
require_once("master.inc.php"); |
require_once("master.inc.php"); |
37 |
|
|
38 |
|
|
481 |
|
|
482 |
function llxFooter($foot='') |
function llxFooter($foot='') |
483 |
{ |
{ |
484 |
global $dolibarr_auto_user; |
global $dolibarr_auto_user, $micro_start_time; |
485 |
|
|
486 |
print "\n</div>\n".'<!-- end div class="fiche" -->'."\n"; |
print "\n</div>\n".'<!-- end div class="fiche" -->'."\n"; |
487 |
print "\n</div>\n".'<!-- end div class="vmenuplusfiche" -->'; |
print "\n</div>\n".'<!-- end div class="vmenuplusfiche" -->'; |
488 |
print "\n</div>\n".'<!-- end div class="body" -->'."\n"; |
print "\n</div>\n".'<!-- end div class="body" -->'."\n"; |
489 |
|
|
490 |
print "</body>\n</html>\n"; |
if (isset($_SERVER['DOL_TUNING'])) |
491 |
|
{ |
492 |
|
print '<script language="javascript" type="text/javascript">window.status="Build time: '.ceil(1000*(microtime(true)-$micro_start_time)).' ms"</script>'; |
493 |
|
print "\n"; |
494 |
|
} |
495 |
|
|
496 |
|
print "</body>\n</html>\n"; |
497 |
} |
} |
498 |
?> |
?> |