1
0
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:
James Atkinson
2001-02-23 23:39:42 +00:00
parent 8523870f8e
commit 4e5538cb78
4 changed files with 54 additions and 27 deletions

View File

@@ -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)