1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

oh boy...

- Migrate code base to PHP 5.1+


git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2008-01-03 17:00:40 +00:00
parent 0f26ffbade
commit 85055ac97f
77 changed files with 827 additions and 3121 deletions

View File

@@ -71,8 +71,7 @@ class ucp_confirm
include($phpbb_root_path . 'includes/captcha/captcha_non_gd.' . $phpEx);
}
$captcha = new captcha();
$captcha->execute($row['code'], $row['seed']);
captcha::execute($row['code'], $row['seed']);
exit;
}
}

View File

@@ -26,7 +26,7 @@ class ucp_main
var $p_master;
var $u_action;
function ucp_main(&$p_master)
function __construct(&$p_master)
{
$this->p_master = &$p_master;
}

View File

@@ -34,7 +34,7 @@ function view_folder($id, $mode, $folder_id, $folder)
$user->add_lang('viewforum');
// Grab icons
$icons = $cache->obtain_icons();
$icons = cache::obtain_icons();
$color_rows = array('marked', 'replied');

View File

@@ -47,7 +47,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
}
// Grab icons
$icons = $cache->obtain_icons();
$icons = cache::obtain_icons();
$bbcode = false;

View File

@@ -477,7 +477,7 @@ class ucp_register
if (!$change_lang || !$confirm_id)
{
$user->confirm_gc(CONFIRM_REG);
$sql = 'SELECT COUNT(session_id) AS attempts
FROM ' . CONFIRM_TABLE . "
WHERE session_id = '" . $db->sql_escape($user->session_id) . "'