From efa07c814f29650c4f389d23c4eb90ece5161edf Mon Sep 17 00:00:00 2001 From: Kenzaburo Ito Date: Wed, 14 Feb 2001 05:35:59 +0000 Subject: [PATCH] added better email checking git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@200 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- config_inc.php | 9 ++++++--- core_API.php | 39 +++++++++++++++++++++++++++++---------- 2 files changed, 35 insertions(+), 13 deletions(-) diff --git a/config_inc.php b/config_inc.php index d570a437de..5c5effc851 100644 --- a/config_inc.php +++ b/config_inc.php @@ -79,10 +79,13 @@ # Allow email $g_enable_email_notification = 1; + + # set to 0 to disable email check + $g_validate_email = 1; #-------------------- #-------------------- - # time for coookie to live in seconds + # time for 'permanent' cookie to live in seconds $g_cookie_time_length = 30000000; # 1 year # time to delay between page redirects $g_wait_time = 2; # in seconds @@ -344,6 +347,6 @@ #-------------------- #version - $g_mantis_version = "0.14.0"; + $g_mantis_version = "0.14.0"; #-------------------- -?> \ No newline at end of file +?> diff --git a/core_API.php b/core_API.php index 852a4ab9fc..af54fd78a9 100644 --- a/core_API.php +++ b/core_API.php @@ -571,7 +571,7 @@ function print_category_option_list( $p_category="" ) { $row = db_fetch_array( $result ); $t_category = $row["category"]; if ( $t_category==$p_category ) { - PRINT "