Changeset 1290


Ignore:
Timestamp:
03/10/10 09:22:10 (3 years ago)
Author:
nick_ramsay
Message:

[Branch 1.2] Added the -f parameter to the PHP mail function, plus a few very minor changes.

Location:
branches/1.2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/content/plugins/activity/css/activity.css

    r978 r1290  
    1 /* ************************************** 
    2  *        ACTIVITY PLUGIN CSS       * 
    3  ************************************** */ 
     1/* activity */ 
    42 
    53/* WIDGET */ 
  • branches/1.2/content/plugins/categories/css/categories.css

    r847 r1290  
    1 /* ************************************** 
    2  *      CATEGORIES PLUGIN CSS           * 
    3  ************************************** */ 
     1/* categories */ 
    42 
    53/* DROP-DOWN CATEGORY MENU BAR */ 
  • branches/1.2/content/plugins/comments/css/comments.css

    r1144 r1290  
    1 /* ************************************** 
    2  *       COMMENTS PLUGIN CSS            * 
    3  ************************************** */ 
     1/* comments */ 
    42 
    53.comment_link       { padding-left: 1.5em; background-image: url(content/plugins/comments/images/comment.png); background-repeat: no-repeat; } 
  • branches/1.2/install/install_tables.php

    r1056 r1290  
    342342        // Site email 
    343343        $sql = "INSERT INTO " . DB_PREFIX . $table_name . " (settings_name, settings_value, settings_default, settings_note) VALUES (%s, %s, %s, %s)"; 
    344         $db->query($db->prepare($sql, 'SITE_EMAIL', 'admin@mysite.com', 'admin@mysite.com', 'Must be changed')); 
     344        $db->query($db->prepare($sql, 'SITE_EMAIL', 'email@example.com', 'email@example.com', 'Must be changed')); 
    345345         
    346346        // Database cache 
  • branches/1.2/libs/EmailFunctions.php

    r1214 r1290  
    113113                break; 
    114114            default: 
    115                 mail($this->to, $this->subject, $this->body, $this->headers); 
     115                $return_path = "-f " . SITE_EMAIL; 
     116                mail($this->to, $this->subject, $this->body, $this->headers, $return_path); 
    116117        } 
    117118    } 
Note: See TracChangeset for help on using the changeset viewer.