update PHPMailer to 5.2.21
fix PHPMailer smtp class loading when using SMTP transport
We recommend the automatic upgrade. If you're running version 2.2+, Piwigo will tell you which plugins may be not compatible with Piwigo 2.8 before upgrade.
If you're running Piwigo 2.8.x you can also download the 2.8.x_to_2.8.5.zip archive that contains all new and modified files. Once you have extracted the files, transfer them onto your web server with a FTP client over your Piwigo 2.8.x installation. No database upgrade is required.
If you are running a version older than 2.8 and do not want to use the automatic upgrade, then follow the manual upgrade.