0
1
Fork 0

Image sync method fixes

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. * Initial Release.

View File

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

View File

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