Changeset 788 for branches/branch-1_4/admin
- Timestamp:
- May 14, 2005, 2:56:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_4/admin/configuration.php
r779 r788 67 67 array_push($errors, $lang['conf_prefix_thumbnail_error']); 68 68 } 69 // mail must be formatted as follows : name@server.com 70 $pattern = '/^[\w-]+(\.[\w-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$/'; 71 if (!preg_match($pattern, $_POST['mail_webmaster'])) 72 { 73 array_push($errors, $lang['conf_mail_webmaster_error']); 74 } 69 // as webmaster mail address shown on the website, it can be obfuscated 70 // and no comply with normal mail address pattern 75 71 break; 76 72 }
Note: See TracChangeset
for help on using the changeset viewer.