Commit 12a182d7acf53376d39d21adcee329c71fc80dfd

Authored by Edmar Moretti
1 parent 93576a9c

Inclusão de rotina de compactação das páginas principais

Showing 2 changed files with 10 additions and 1 deletions   Show diff stats
init/head.php
  1 +<?php
  2 +if(extension_loaded('zlib')){
  3 + ob_start('ob_gzhandler');
  4 +}
  5 +?>
1 6 <!DOCTYPE html>
2 7 <html lang="pt-br">
3 8 <head>
... ...
init/index.php
... ... @@ -228,4 +228,8 @@ if (! function_exists(&quot;ms_GetVersion&quot;)) {
228 228 </script>
229 229 </body>
230 230 </html>
231   -
  231 +<?php
  232 +if(extension_loaded('zlib')){
  233 + ob_end_flush();
  234 +}
  235 +?>
... ...