From 11ed3a4c720d9379beaf7f5770f297677da5d9a7 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 21 Apr 2014 23:25:40 +0200 Subject: Added 2 more failure pages. --- www/functions/func_content.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/functions/func_content.php') diff --git a/www/functions/func_content.php b/www/functions/func_content.php index 853adc1..75ce4f7 100755 --- a/www/functions/func_content.php +++ b/www/functions/func_content.php @@ -4,7 +4,9 @@ function collect_content($db,$username, $folder_path){ $owner = user_id($db, $username); if(!$owner){ - failure("This user doesn't exist!"); + $_GET["e"]="user"; + include("httperror.php"); + exit; } $file_id = select_file_id($db, $owner, $folder_path); -- cgit v1.2.3