Skip to content

Commit efe4a6d

Browse files
committed
fix: creazione cartella installazione
1 parent e4c1af6 commit efe4a6d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

update/2_7_2.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
$files = glob($directory.'*.xml');
88

99
$new_folder = 'files/'.$module->attachments_directory.'/';
10-
11-
if (!file_exists($new_folder)) {
12-
mkdir($new_folder, 0755, true);
13-
}
10+
directory($new_folder);
1411

1512
$attachments = database()->fetchArray('SELECT `filename` FROM `zz_files` WHERE `name` = "Fattura Elettronica" AND `id_module` = '.$module->id);
1613

0 commit comments

Comments
 (0)