1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Fix controllo permessi

This commit is contained in:
MatteoPistorello
2021-12-14 12:32:31 +01:00
parent d5025d02ee
commit 46e754f06e
2 changed files with 3 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ function copyr($source, $destination, $ignores = [])
try {
$fs->chmod($destination, 0777, 0000, true);
} catch (\Exception $e) {}
} catch (IOException $e) {}
foreach ($files as $file) {
$filename = rtrim($destination, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.$file->getRelativePathname();