]> git.pld-linux.org Git - packages/php-phpmailer.git/blobdiff - paths.patch
up to 5.2.3 (February 8, 2013)
[packages/php-phpmailer.git] / paths.patch
index 6ed10fffc3ab6415da46cbe9419850cb995cf1d4..ae24ca770548eb291925642853b91e84c9a97356 100644 (file)
@@ -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.',
This page took 0.069338 seconds and 4 git commands to generate.