Changeset 3747 for trunk/include
- Timestamp:
- Aug 17, 2009, 6:21:09 PM (15 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r3282 r3747 29 29 $t2 = $t1[1].'.'.$t2[1]; 30 30 31 set_magic_quotes_runtime(0); // Disable magic_quotes_runtime31 @set_magic_quotes_runtime(0); // Disable magic_quotes_runtime 32 32 33 33 // -
trunk/include/functions_user.inc.php
r3642 r3747 76 76 array_push($errors, l10n('reg_err_login1')); 77 77 } 78 if ( ereg("^.* $", $login))78 if (preg_match('/^.* $/', $login)) 79 79 { 80 80 array_push($errors, l10n('reg_err_login2')); 81 81 } 82 if ( ereg("^ .*$", $login))82 if (preg_match('/^ .*$/', $login)) 83 83 { 84 84 array_push($errors, l10n('reg_err_login3'));
Note: See TracChangeset
for help on using the changeset viewer.