1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-25 09:30:46 +02:00

Misc installation bugs

git-svn-id: file:///svn/phpbb/trunk@6095 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-06-18 11:55:45 +00:00
parent 6cf4180bb7
commit f9f10be464
2 changed files with 6 additions and 9 deletions

View File

@@ -332,7 +332,7 @@ class module
*/
function page_footer()
{
global $template;
global $db, $template;
$template->display('body');
@@ -545,9 +545,7 @@ class module
'MESSAGE_TEXT' => '<p>' . basename($file) . ' [ ' . $line . ' ]</p><p>SQL : ' . $sql . '</p><p><b>' . $error . '</b></p>',
));
$db->sql_close();
$this->page_footer();
exit;
}
/**
@@ -573,7 +571,7 @@ class module
$rows = (int) $tpl_type[1];
$cols = (int) $tpl_type[2];
$tpl = '<textarea id="' . $key . '" name="' . $name . '" rows="' . $rows . '" cols="' . $cols . '">' . $value . '</textarea>';
$tpl = '<textarea id="' . $name . '" name="' . $name . '" rows="' . $rows . '" cols="' . $cols . '">' . $value . '</textarea>';
break;
case 'radio':