X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=paths.patch;h=ae24ca770548eb291925642853b91e84c9a97356;hb=refs%2Ftags%2Fauto%2Fac%2Fphp-phpmailer-5.2.3-0.1;hp=6ed10fffc3ab6415da46cbe9419850cb995cf1d4;hpb=19f5ccc5730393f94666505f36de67c542fefe77;p=packages%2Fphp-phpmailer.git diff --git a/paths.patch b/paths.patch index 6ed10ff..ae24ca7 100644 --- a/paths.patch +++ b/paths.patch @@ -1,5 +1,5 @@ ---- phpMailer_v2.3/class.phpmailer.php~ 2010-01-12 16:05:45.000000000 +0200 -+++ phpMailer_v2.3/class.phpmailer.php 2010-01-12 16:05:46.997539898 +0200 +--- PHPMailer_v5.1/class.phpmailer.php~ 2010-05-26 17:37:24.000000000 +0300 ++++ PHPMailer_v5.1/class.phpmailer.php 2010-05-26 17:37:48.416133079 +0300 @@ -134,7 +134,7 @@ * is in a different directory than the PHP include path. * @var string @@ -9,12 +9,12 @@ /** * Holds PHPMailer version. -@@ -663,7 +663,7 @@ - * @access public - * @return bool - */ -- function SetLanguage($lang_type = 'en', $lang_path = 'language/') { -+ function SetLanguage($lang_type = 'en', $lang_path = '/usr/share/php/phpmailer/language/') { - if( !(@include $lang_path.'phpmailer.lang-'.$lang_type.'.php') ) { - $PHPMAILER_LANG = array(); - $PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' . +@@ -847,7 +847,7 @@ + * @param string $lang_path Path to the language file directory + * @access public + */ +- function SetLanguage($langcode = 'en', $lang_path = 'language/') { ++ function SetLanguage($langcode = 'en', $lang_path = '/usr/share/php/phpmailer/language/') { + //Define full set of translatable strings + $PHPMAILER_LANG = array( + 'provide_address' => 'You must provide at least one recipient email address.',