0
1
Fork 0

edi/update: FTP passive mode enabled

This commit is contained in:
Juan Ferrer 2022-04-11 15:14:29 +02:00
parent b2535c5d38
commit 559e7c48a2
3 changed files with 3 additions and 2 deletions

2
debian/changelog vendored
View File

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

View File

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

View File

@ -19,6 +19,7 @@ class Update extends Vn\Lib\Method {
if (!ftp_login($ftpConn, $ftpConf['user'], $ftpConf['password']))
throw new Exception('Can not login to '. $ftpConf['user'] .'@'. $ftpConf['host']);
ftp_pasv($ftpConn, true);
// Gets the list with the tables to update