@@ -11,6 +11,10 @@ use Flowdat\Export\App\Exporter\ExporterXml;
class ExportFactory
{
public static function create($type, $fileName, $data, $header){
+ if (!file_exists(__DIR__.'/../../Resource/')) {
+ mkdir(__DIR__.'/../../Resource/', 0777, true);
+ }
+
switch ($type){
case 'xls':
case 'csv':