From 64c1b5f1106136964cfb3ea31420649d91ef97c4 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Wed, 20 Feb 2002 22:44:25 +0000 Subject: - updated configuration/user.module to use ini_get("sendmail_from") as default value. --- modules/system.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/system.module') diff --git a/modules/system.module b/modules/system.module index e29dada99..47c92862e 100644 --- a/modules/system.module +++ b/modules/system.module @@ -37,11 +37,10 @@ function system_link($type) { function system_view_options() { global $conf, $cmodes, $corder, $themes; - // general settings: $output .= "

General settings

\n"; $output .= form_textfield("Name", "site_name", variable_get("site_name", "drupal"), 55, 55, "The name of this website."); - $output .= form_textfield("E-mail address", "site_mail", variable_get("site_mail", "root@localhost"), 55, 128, "A valid e-mail address for this website, used by the auto-mailer to create new user accounts."); + $output .= form_textfield("E-mail address", "site_mail", variable_get("site_mail", ini_get("sendmail_from")), 55, 128, "A valid e-mail address for this website, used by the auto-mailer to create new user accounts."); $output .= form_textfield("Slogan", "site_slogan", variable_get("site_slogan", ""), 55, 128, "The slogan of this website"); $output .= form_textarea("Mission", "site_mission", variable_get("site_mission", ""), 55, 5, "Your site's mission statement or focus."); $output .= form_textarea("Footer message", "site_footer", variable_get("site_footer", ""), 55, 5, "This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages."); -- cgit v1.2.3