mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
Viewforum works, and error die outputs nice, templated, errors
git-svn-id: file:///svn/phpbb/trunk@37 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
function error_die($db, $error_code = "", $error_msg = "")
|
||||
{
|
||||
global $template, $phpEx;
|
||||
|
||||
if(!$template->get("overall_header"))
|
||||
{
|
||||
include('page_header.'.$phpEx);
|
||||
}
|
||||
if(!$error_msg)
|
||||
{
|
||||
switch($error_code)
|
||||
|
Reference in New Issue
Block a user