diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 64c895e3..8c256017 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -286,7 +286,7 @@ class DataController extends Zend_Controller_Action $timexml.=htmlspecialchars($desc).''; } $timexml.=''; - $fp=fopen('time.xml','w'); + $fp=fopen($fn,'w'); fwrite($fp,$timexml); fclose($fp); }