From b1aa766b224af4931bec87f2fe79061158dc2ff7 Mon Sep 17 00:00:00 2001 From: ugha Date: Fri, 23 Jul 2004 05:03:34 +0000 Subject: [PATCH] Fixed two bugs that show up with some PHP configurations: * Use of undefined constant MENU_FILE - assumed 'MENU_FILE' (added quotes) * Cannot modify header information - headers already sent (extra newlines at the end of menu.php) (ugha) --- index.php | 8 ++++---- menu.php | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index 7d16e581..0b6d4969 100644 --- a/index.php +++ b/index.php @@ -1,9 +1,9 @@ Error: Page \"$page\" not found"; include(PAGE_DIR.'footer'.PAGE_EXT); diff --git a/menu.php b/menu.php index d276039e..cda8c698 100644 --- a/menu.php +++ b/menu.php @@ -48,5 +48,4 @@ function buildmenu() { } } } -?> - +?> \ No newline at end of file