[pkg-php-pear] Bug#763105: Please, don’t rely on class.phpmailer.php to act as an autoloader

David Prévot taffit at debian.org
Sat Sep 27 20:32:38 UTC 2014


Package: knowledgeroot
Severity: important
Tags: upstream
Control: affects -1 libphp-mailer

Hi,

From a quick overlook, it seems like include/init.php is relying on
“require_once("/usr/share/php/libphp-phpmailer/class.phpmailer.php");”
to get all needed classes (including, e.g., the SMTP one, provided by
class.smtp.php).

Starting with libphp-phpmailer 5.2.9+dfsg-1 just uploaded to
experimental, but intended to be shipped in Jessie, the autoloader code
present in class.phpmailer.php has been removed by upstream, so you may
wish to rely on PHPMailerAutoload.php (already available on the
5.2.8+dfsg-1 version currently in unstable and testing) instead.

Regards

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140927/57ba7080/attachment.sig>


More information about the pkg-php-pear mailing list