Bug fix FTP-Test:
- if ftp connection test failed a warning was thrwon when trying to close the connection
Dieser Commit ist enthalten in:
Ursprung
edc44e2f30
Commit
025b5c339d
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
|
@ -380,7 +380,9 @@ class ConfigController extends Zend_Controller_Action
|
||||||
}
|
}
|
||||||
|
|
||||||
// close ftp connection
|
// close ftp connection
|
||||||
ftp_close($ftpStream);
|
if (is_resource($ftpStream)) {
|
||||||
|
ftp_close($ftpStream);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$this->_forward('index');
|
$this->_forward('index');
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren