Changeset 15071 for branches/rel
- Timestamp:
- 2007/07/18 21:40:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel/html/frontparts/login_check.php
r15070 r15071 84 84 $check_url = trim($_POST['url']); 85 85 86 // ¥í¡¼¥«¥ë¥Á¥§¥Ã¥¯ 87 $pattern = "|^$site_url|"; 88 if (!preg_match($pattern, $check_url)) { 86 // ¥í¡¼¥«¥ë¥É¥á¥¤¥ó¥Á¥§¥Ã¥¯ 87 if (!preg_match("|^$site_url|", $check_url) && !preg_match("|^/|", $check_url)) { 89 88 return false; 90 89 }
Note: See TracChangeset
for help on using the changeset viewer.