Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.3

Request #10209 Add option for setting the temp directory
Submitted: 2007-02-27 12:41 UTC Modified: 2007-03-11 09:34 UTC
From: derernst Assigned: wiesemann
Status: Closed Package: Structures_DataGrid_Renderer_XLS (version 0.1.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-02-27 12:41 UTC] derernst (Markus Ernst)
Description: ------------ With Safe-mode on, the OLE File class is not allowed to write a temporary file, so a custom temp directory with writing permission must be set. This can be done with the code below. Anyway it would be more elegant to introduce this as a new option to be set for the XLS renderer. Test script: --------------- $workbook =& $renderer->getContainer(); $workbook->setTempDir($_SERVER['DOCUMENT_ROOT'].'/temp/');

Comments

 [2007-03-11 09:34 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.