forked from verdnatura/hedera-web
Image sync method fixes
This commit is contained in:
parent
989730a905
commit
a07842e899
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.407.29) stable; urgency=low
|
||||
hedera-web (1.407.30) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.407.29",
|
||||
"version": "1.407.30",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue