[Alba-desarrollo] SVN Alba r6120 - prosistem/alba/trunk/alba/apps/principal/modules/informes/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Abr 24 21:45:53 CEST 2009


Author: josx
Date: 2009-04-24 16:45:53 -0300 (Fri, 24 Apr 2009)
New Revision: 6120

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
Log:
Cambiando lo que envia en content-type cunado manda los headers en los informes

Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php	2009-04-24 19:44:03 UTC (rev 6119)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php	2009-04-24 19:45:53 UTC (rev 6120)
@@ -458,8 +458,8 @@
 
         $OOo->SaveXmlToDoc();
         // OJO hay headers locos para que funcione en internet explorer
-        // header('Content-type: '.$OOo->GetMimetypeDoc());
-        header("Content-Type: application/force-download"); //para que funcione en konqueror
+        header('Content-type: '.$OOo->GetMimetypeDoc());
+        //header("Content-Type: application/force-download"); //para que funcione en konqueror
         header("Cache-Control: public, must-revalidate");
         header("Pragma: hack");
         header('Content-Length: '.filesize($OOo->GetPathnameDoc()));




Más información sobre la lista de distribución Alba-desarrollo