Navigation Menu

Skip to content

Commit

Permalink
Try to fix php file copy (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
jekkos committed Aug 22, 2017
1 parent 69b6879 commit 582311a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/install.php
Expand Up @@ -244,7 +244,7 @@ private function recursiveCopy($src, $dst)
return;
}

@mkdir($dst, 0755);
@mkdir($dst, 0755, TRUE);

$iterator = new \RecursiveIteratorIterator(
new \RecursiveDirectoryIterator($src, \RecursiveDirectoryIterator::SKIP_DOTS),
Expand All @@ -253,7 +253,7 @@ private function recursiveCopy($src, $dst)

foreach ($iterator as $file) {
if ($file->isDir()) {
@mkdir($dst . '/' . $iterator->getSubPathName(), 0755);
@mkdir($dst . '/' . $iterator->getSubPathName(), 0777, TRUE);
} else {

$success = copy($file, $dst . '/' . $iterator->getSubPathName());
Expand Down

1 comment on commit 582311a

@mckaygerhard

This comment was marked as abuse.

Please sign in to comment.