aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-12-09 18:09:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-12-09 18:09:43 +0000
commit877d71528d83d217d1f6b71428681dc4bc4c54f3 (patch)
treee972c23f3f82210ef5e46c6982a09a165af5d4d6 /phpBB/includes/functions.php
parent28661d61063f677f5bb9d555f179389699e5114b (diff)
downloadforums-877d71528d83d217d1f6b71428681dc4bc4c54f3.tar
forums-877d71528d83d217d1f6b71428681dc4bc4c54f3.tar.gz
forums-877d71528d83d217d1f6b71428681dc4bc4c54f3.tar.bz2
forums-877d71528d83d217d1f6b71428681dc4bc4c54f3.tar.xz
forums-877d71528d83d217d1f6b71428681dc4bc4c54f3.zip
- banning, disallow usernames and ranks
git-svn-id: file:///svn/phpbb/trunk@5323 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 6e40431f62..431e4c7731 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1202,7 +1202,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
if (!$redirect)
{
$split_page = array();
- preg_match_all('#^.*?([a-z]+?)\.' . $phpEx . '\?(.*?)$#i', $user->page, $split_page, PREG_SET_ORDER);
+ preg_match_all('#^.*?([a-z_-]+?)\.' . $phpEx . '?(.*?)$#i', $user->page, $split_page, PREG_SET_ORDER);
// No script name set? Assume index
if (empty($split_page[0][1]))