Skip to content

Commit

Permalink
Fix for minus sign in folder name when using pagefileSecure
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbj committed Sep 14, 2013
1 parent db5c99e commit ad4d9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImportPagesCSV.module
Expand Up @@ -261,7 +261,7 @@ class ImportPagesCSV extends Process implements Module {
$csvFilename = $csvFile->filename;

} else if(strlen($csvData)) {
$csvFilename = $this->config->paths->files . $this->page->id . '/data.csv';
$csvFilename = $this->config->paths->files . ($this->config->pagefileSecure ? $this->config->pagefileSecurePathPrefix : null) . $this->page->id . '/data.csv';
file_put_contents($csvFilename, $form->get('csv_data')->value);

} else {
Expand Down

0 comments on commit ad4d9e7

Please sign in to comment.