X-Git-Url: https://git.p6c8.net/form-email.git/blobdiff_plain/9f689ef27a5125ec8e464e24505d3bc44727f8a1..50ef90786d4ad52706db03a000e486119cb977ce:/form-email/config.php diff --git a/form-email/config.php b/form-email/config.php index a4208e9..5c25214 100644 --- a/form-email/config.php +++ b/form-email/config.php @@ -6,7 +6,7 @@ # Konfiguration fuer Form E-Mail # # Autor: Patrick Canterino -# Letzte Aenderung: 12.12.2011 +# Letzte Aenderung: 27.12.2011 # # Copyright (C) 2002-2011 Patrick Canterino # @@ -29,7 +29,6 @@ $line_break = 0; $add_header = 1; $timeformat = '%d.%m.%Y um %H:%M:%S'; $return_url = ''; -$no_tld = 0; $allowed_envs = array('HTTP_USER_AGENT','REMOTE_ADDR'); $charset = 'iso-8859-1'; $timezone = 'Europe/Berlin'; @@ -48,7 +47,7 @@ $text_max = 0; $user_fields['beruf']['min'] = 5; $user_fields['beruf']['max'] = 10; -$user_fields['beruf']['optional'] = 1; +$user_fields['beruf']['required'] = 1; $user_fields['beruf']['regex'] = '/^[A-Za-z]+$/'; $user_fields['beruf']['check'] = 'check_beruf'; $user_fields['beruf']['prepare'] = 'prepare_beruf';