Image sync method fixes
gitea/hedera-web/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-08-29 13:59:28 +02:00
parent 989730a905
commit a07842e899
3 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.407.29) stable; urgency=low
hedera-web (1.407.30) stable; urgency=low
* Initial Release.

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.407.29",
"version": "1.407.30",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {

View File

@ -26,7 +26,7 @@ class Sync extends Vn\Lib\Method {
if ($dir)
while ($collection = readdir($dir))
if (!in_array($collection, ['.', '..'])) {
if (!in_array($collection, ['.', '..', '.trash'])) {
$info = $this->util->loadInfo($collection);
$collectionPath = "{$this->dataDir}/$collection";