mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-05 23:58:02 -05:00
Explicitly set folder permissions (#1458)
This commit is contained in:
@@ -253,12 +253,8 @@ class Installer
|
||||
|
||||
foreach ($iterator as $file) {
|
||||
if ($file->isDir()) {
|
||||
@mkdir($dst . '/' . $iterator->getSubPathName());
|
||||
@mkdir($dst . '/' . $iterator->getSubPathName()), 0755);
|
||||
} else {
|
||||
if (!is_dir($dst))
|
||||
{
|
||||
@mkdir($dst);
|
||||
}
|
||||
|
||||
$success = copy($file, $dst . '/' . $iterator->getSubPathName());
|
||||
if ($success) {
|
||||
|
||||
Reference in New Issue
Block a user