Commit 00e1d81d authored by smk-ka's avatar smk-ka

by smk-ka: Fixed libraries module not loaded when checking install requirements.

parent 5f5459d0
......@@ -36,6 +36,7 @@ by smk-ka: Provide more user-friendly error messages.
Mail. Added an option to always set a "Reply-To" address.
#764448 by smk-ka: Fixed sending more than one message for certain server
configurations.
by smk-ka: Fixed libraries module not loaded when checking install requirements.
PHPMailer 6.x-2.1, 2009-06-10
......
......@@ -15,6 +15,7 @@ function phpmailer_requirements($phase) {
$t = get_t();
if ($phase == 'install') {
drupal_load('module', 'libraries');
$path = libraries_get_path('phpmailer');
if (!file_exists('./' . $path . '/class.phpmailer.php') || !file_exists('./' . $path . '/class.smtp.php')) {
$requirements['phpmailer'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment