commit | d841b3c829757d8dab158b03a69e1fa7156a0c2c | [log] [tgz] |
---|---|---|
author | droy <droy> | Wed Feb 13 16:39:24 2008 +0000 |
committer | droy <droy> | Wed Feb 13 16:39:24 2008 +0000 |
tree | 85d753e9263ac7e5e9ce4a09e0492f07269fa0d9 | |
parent | 70d666497a2ea2d462f6909eafb45fe46c918a48 [diff] |
Fix bug creating directories with spaces
diff --git a/classes/export/generate1.php b/classes/export/generate1.php index 8c6e6e7..4a1060d 100755 --- a/classes/export/generate1.php +++ b/classes/export/generate1.php
@@ -152,7 +152,7 @@ */ $fullpath = $temporary_dir . $filename; preg_match( "/^((.*)\/)?(.+?)$/", $fullpath, $matches ); - exec( "mkdir -p " . $matches[1]); + exec( "mkdir -p \"" . $matches[1] . "\""); /* * Start writing to the file */