forked from uup-dump/api
Regenerate internal packs. Update attributes. Exclude Diffs files.
This commit is contained in:
7
get.php
7
get.php
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
Copyright 2019 whatever127
|
||||
Copyright 2021 whatever127
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@ -152,6 +152,11 @@ function uupGetFiles(
|
||||
if(isset($files[$val])) unset($files[$val]);
|
||||
}
|
||||
|
||||
$diffs = preg_grep('/.*_Diffs_.*/i', array_keys($files));
|
||||
foreach($diffs as $val) {
|
||||
if(isset($files[$val])) unset($files[$val]);
|
||||
}
|
||||
|
||||
$psf = array_keys($files);
|
||||
$psf = preg_grep('/\.psf$/i', $psf);
|
||||
|
||||
|
Reference in New Issue
Block a user