[Alba-desarrollo] SVN Alba r5175 - in prosistem/alba/trunk/alba/apps/principal: lib modules/calendario/actions modules/horarioescolar/actions modules/relDivisionActividadDocente/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Sep 26 21:48:44 CEST 2007


Author: josx
Date: 2007-09-26 16:48:41 -0300 (Wed, 26 Sep 2007)
New Revision: 5175

Modified:
   prosistem/alba/trunk/alba/apps/principal/lib/miExportadorIcal.class.php
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
   prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php
   prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php
Log:
Cambio de directorio donde guarda y lee los ics para mostrar los calendarios

Modified: prosistem/alba/trunk/alba/apps/principal/lib/miExportadorIcal.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/lib/miExportadorIcal.class.php	2007-09-26 19:41:05 UTC (rev 5174)
+++ prosistem/alba/trunk/alba/apps/principal/lib/miExportadorIcal.class.php	2007-09-26 19:48:41 UTC (rev 5175)
@@ -39,7 +39,7 @@
     function exportar($aObj = array(), $directo_a_browser = 1 ) {
         if(is_array($aObj)) {
             $v = new vcalendar();
-            $v->setConfig('DIRECTORY',sfConfig::get('app_alba_tmpdir')); //sfConfig::get('app_alba_tmpdir');
+            $v->setConfig('DIRECTORY',sfConfig::get('sf_root_cache_dir')); 
 
             foreach ($aObj as $link_evento) {
                 if($link_evento->getEvento()) {

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php	2007-09-26 19:41:05 UTC (rev 5174)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php	2007-09-26 19:48:41 UTC (rev 5175)
@@ -79,7 +79,7 @@
     function getEventos($aRes, $vista) {
         include("miExportadorIcal.class.php");
         $e  = new miExportadorIcal();
-        $archivo = sfConfig::get('app_alba_tmpdir')."/".$e->exportar($aRes, 0);
+        $archivo = sfConfig::get('sf_root_cache_dir')."/".$e->exportar($aRes, 0);
         if($this->getRequestParameter('date')) {
             $date_component = $this->getRequestParameter('date');
         } else {

Modified: prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php	2007-09-26 19:41:05 UTC (rev 5174)
+++ prosistem/alba/trunk/alba/apps/principal/modules/horarioescolar/actions/actions.class.php	2007-09-26 19:48:41 UTC (rev 5175)
@@ -120,7 +120,7 @@
         $this->executeList();
         include("miExportadorIcal.class.php");
         $e  = new miExportadorIcal();
-        $this->archivo = sfConfig::get('app_alba_tmpdir')."/".$e->exportar($this->pager->getResults(), 0);
+        $this->archivo = sfConfig::get('sf_root_cache_dir')."/".$e->exportar($this->pager->getResults(), 0);
         if($this->getRequestParameter('date')) {
             $this->date_component = $this->getRequestParameter('date');
         } else {

Modified: prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php	2007-09-26 19:41:05 UTC (rev 5174)
+++ prosistem/alba/trunk/alba/apps/principal/modules/relDivisionActividadDocente/actions/actions.class.php	2007-09-26 19:48:41 UTC (rev 5175)
@@ -100,7 +100,7 @@
         $this->executeList();
         include("miExportadorIcal.class.php");
         $e  = new miExportadorIcal();
-        $this->archivo = sfConfig::get('app_alba_tmpdir')."/".$e->exportar($this->pager->getResults(), 0);
+        $this->archivo = sfConfig::get('sf_root_cache_dir')."/".$e->exportar($this->pager->getResults(), 0);
         if($this->getRequestParameter('date')) {
             $this->date_component = $this->getRequestParameter('date');
         } else {




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