diff options
| author | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:20 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-03-01 18:35:20 +0000 |
| commit | 4506236a11190b302809035a86005606a644073b (patch) | |
| tree | 231f189591cea7896319b5732bc487c944ed12f3 /remind_password.php | |
| parent | 716651b5aa88c887b11f2ccb4b694551ada58ed0 (diff) | |
| download | users-4506236a11190b302809035a86005606a644073b.tar.gz users-4506236a11190b302809035a86005606a644073b.tar.bz2 users-4506236a11190b302809035a86005606a644073b.zip | |
move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences
Diffstat (limited to 'remind_password.php')
| -rw-r--r-- | remind_password.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remind_password.php b/remind_password.php index c71eb7a..ae69bef 100644 --- a/remind_password.php +++ b/remind_password.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.7 2006/02/06 22:56:51 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/remind_password.php,v 1.8 2006/03/01 18:35:20 spiderr Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: remind_password.php,v 1.7 2006/02/06 22:56:51 squareing Exp $ + * $Id: remind_password.php,v 1.8 2006/03/01 18:35:20 spiderr Exp $ * @package users * @subpackage functions */ @@ -46,8 +46,8 @@ if ($forgot_pass != 'y') { $gBitSmarty->assign('mail_same', $gBitSystem->isFeatureActive( 'clear_passwords' )); $gBitSmarty->assign('mail_pass', $pass); $mail_data = $gBitSmarty->fetch('bitpackage:users/password_reminder.tpl'); - $subject = "Your password for ".$gBitSystem->getPreference( 'site_title', $_SERVER['HTTP_HOST'] ); - mail( $userInfo['email'], $subject, $mail_data, "From: ".$gBitSystem->getPreference( 'sender_email' )."\r\nContent-type: text/plain;charset=utf-8\r\n"); + $subject = "Your password for ".$gBitSystem->getConfig( 'site_title', $_SERVER['HTTP_HOST'] ); + mail( $userInfo['email'], $subject, $mail_data, "From: ".$gBitSystem->getConfig( 'sender_email' )."\r\nContent-type: text/plain;charset=utf-8\r\n"); // Just show "success" message and no form } else { // Show error message (and leave form visible so user can fix problem) |
