OXDEV-3559 Fix parsing dot files
This commit is contained in:
parent
5219685987
commit
cbcd2c8db5
@ -93,7 +93,7 @@ class Installer
|
|||||||
$jobRename = function (\SplFileInfo $file) use ($vendor, $package, $packageFull): void {
|
$jobRename = function (\SplFileInfo $file) use ($vendor, $package, $packageFull): void {
|
||||||
$fileName = $file->getFilename();
|
$fileName = $file->getFilename();
|
||||||
$filePath = (string) $file;
|
$filePath = (string) $file;
|
||||||
if ($file->isDir() || strpos($fileName, '.') === 0 || ! is_writable($filePath)) {
|
if ($file->isDir() || !is_writable($filePath)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$contents = file_get_contents($filePath);
|
$contents = file_get_contents($filePath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user