Skip to content
Browse files

Miscellaneous edits.

  • Loading branch information...
1 parent c9a79b1 commit c24fd8aa8530867f1e7c224137986f4181d0551f Tom Shaw committed Mar 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Readme.md
  2. +1 −1 library/Gridola/Export.php
View
2 Readme.md
@@ -173,7 +173,7 @@
$this->addExport('csv' , array(
'label' => 'Comma Separated', // Drop down label.
'header' => false, // Display header in output.
- 'write' => false // Write file to disk.
+ 'write' => false // Write file to disk rootdir/export/filename.xml
));
$this->addExport('xls' , array(
View
2 library/Gridola/Export.php
@@ -157,7 +157,7 @@ protected function writeFile()
{
if (true === ($this->hasWrite())) {
- foreach(array('fopen','fwrite','fclose','tempnam','rename','is_dir','mkdir','sys_get_temp_dir') as $_index => $method) {
+ foreach (array('fopen','fwrite','fclose','tempnam','rename','is_dir','mkdir','sys_get_temp_dir') as $_index => $method) {
if (!function_exists($method)) {
return $this;
}

0 comments on commit c24fd8a

Please sign in to comment.
Something went wrong with that request. Please try again.