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_select.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/functions/func_select.php') diff --git a/www/functions/func_select.php b/www/functions/func_select.php index a6f776d..d9db159 100755 --- a/www/functions/func_select.php +++ b/www/functions/func_select.php @@ -13,7 +13,9 @@ function select_file_id($db, $owner, $folder_path){ $root_ar = $root_db->fetchArray(SQLITE3_NUM); $root_id = $root_ar[0]; if(empty($root_ar[0])){ - failure("Seems like the user doesn't want to show his tree: " . $root_id); + $_GET["e"]="user"; + include("httperror.php"); + exit; } $tmp_length = count($folder_array_unsafe); -- cgit v1.2.3