diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-13 16:34:17 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-13 16:34:17 +0000 |
| commit | 38b8e4b801a13574af8efa961f3a453ae1e00d89 (patch) | |
| tree | 77392e315766d125c5e144d0fd48a334f0dc45be /phpBB/profile.php | |
| parent | a7cda845fa4337d7fe19d166fa1ce93acc941254 (diff) | |
| download | forums-38b8e4b801a13574af8efa961f3a453ae1e00d89.tar forums-38b8e4b801a13574af8efa961f3a453ae1e00d89.tar.gz forums-38b8e4b801a13574af8efa961f3a453ae1e00d89.tar.bz2 forums-38b8e4b801a13574af8efa961f3a453ae1e00d89.tar.xz forums-38b8e4b801a13574af8efa961f3a453ae1e00d89.zip | |
More changes ... switched away from prefetch for now ...
git-svn-id: file:///svn/phpbb/trunk@2849 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
| -rw-r--r-- | phpBB/profile.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index f4c456a296..e371fd1823 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -29,7 +29,7 @@ include($phpbb_root_path . 'common.'.$phpEx); // Start session management // $userdata = $session->start(); -$acl = new auth('list', $userdata); +$acl = new acl('list', $userdata); // // End session management // @@ -56,10 +56,10 @@ $server_url = $server_protocol . $server_name . $server_port . $script_name; function gen_rand_string($hash) { $chars = array( 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F', 'g', 'G', 'h', 'H', 'i', 'I', 'j', 'J', 'k', 'K', 'l', 'L', 'm', 'M', 'n', 'N', 'o', 'O', 'p', 'P', 'q', 'Q', 'r', 'R', 's', 'S', 't', 'T', 'u', 'U', 'v', 'V', 'w', 'W', 'x', 'X', 'y', 'Y', 'z', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0'); - + $max_chars = count($chars) - 1; srand( (double) microtime()*1000000); - + $rand_str = ''; for($i = 0; $i < 8; $i++) { |
