From b3ad20b02998a5d12819a1530d6a14a20751eb05 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 11 Oct 2008 12:20:40 +0000 Subject: Added 'files' folder to createentities, and fixed a bug in file mode. --- forum/htdocs/index.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'forum/htdocs') diff --git a/forum/htdocs/index.php b/forum/htdocs/index.php index f4d2ed7..d4547e9 100644 --- a/forum/htdocs/index.php +++ b/forum/htdocs/index.php @@ -17,7 +17,7 @@ if($current_user) { case "file": include_once($UTIL_DIR. "/file.php"); - getFile($filename); + getFile($fid); return; } } @@ -38,7 +38,7 @@ include_once($UTIL_DIR . "/clientinfo.php"); @@ -55,11 +55,6 @@ if($current_user) { echo "

Logged in as: " . $current_user->name . " - Logout

"; switch($mode) { - case "test": - // include_once($UTIL_DIR. "/notify.php"); - // notify("Test", "Test"); - break; - case "profile": include_once($UTIL_DIR. "/profile.php"); break; -- cgit v1.2.3