mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Fixed errors, non-sid-appended urls, lang switchovers, etc.
git-svn-id: file:///svn/phpbb/trunk@707 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//
|
||||
if($userdata['user_level'] == ADMIN)
|
||||
{
|
||||
$admin_link = "<a href=\"admin/index.$phpEx\">Administration Panel</a>";
|
||||
$admin_link = "<a href=\"" . append_sid("admin/index.$phpEx") . "\">" . $lang['Admin_panel'] . "</a>";
|
||||
}
|
||||
$current_time = time();
|
||||
|
||||
@@ -51,14 +51,18 @@ $endtime = $mtime;
|
||||
$totaltime = ($endtime - $starttime);
|
||||
|
||||
$gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled";
|
||||
$debug_mode = (DEBUG) ? " : Debug Mode" : "";
|
||||
|
||||
printf("<center><font size=-2>phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text</font></center>", $totaltime);
|
||||
printf("<center><font size=-2>phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime);
|
||||
|
||||
//
|
||||
// Close our DB connection.
|
||||
//
|
||||
$db->sql_close();
|
||||
|
||||
//for($i=0;$i<count($db->query_array);$i++)
|
||||
// echo $db->query_array[$i] . "<BR>";
|
||||
|
||||
//
|
||||
// Compress buffered output if required
|
||||
// and send to browser
|
||||
|
Reference in New Issue
Block a user