Skip to content

Commit

Permalink
Installer: Beim Upload automatisch git-Dateien ignorieren (#5235)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Jul 18, 2022
1 parent 79d4e0d commit 1089119
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion redaxo/src/addons/install/lib/api/api_package_upload.php
Expand Up @@ -30,7 +30,13 @@ public function execute()
try {
if ($upload['upload_file']) {
$archive = rex_path::addonCache('install', md5($addonkey . time()) . '.zip');
$exclude = [];
$exclude = [
'.gitattributes',
'.github',
'.gitignore',
'.idea',
'.vscode',
];
if ($upload['replace_assets']) {
$exclude[] = 'assets';
}
Expand Down

0 comments on commit 1089119

Please sign in to comment.