From 65b3d536b63a344811406971eccb6dbaad693030 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sun, 14 Apr 2013 22:57:57 +0200 Subject: [PATCH] just needed it and thought it'd be helpful for all :) Signed-off-by: Michael Kaufmann (d00p) --- lib/functions/filedir/function.makeCorrectFile.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/functions/filedir/function.makeCorrectFile.php b/lib/functions/filedir/function.makeCorrectFile.php index 1fb41da8..aaa3dee2 100644 --- a/lib/functions/filedir/function.makeCorrectFile.php +++ b/lib/functions/filedir/function.makeCorrectFile.php @@ -35,7 +35,10 @@ function makeCorrectFile($filename) $error = 'Given filename for function '.__FUNCTION__.' is empty.'."\n"; $error.= 'This is very dangerous and should not happen.'."\n"; $error.= 'Please inform the Froxlor team about this issue so they can fix it.'; - die($error); + echo $error; + // so we can see WHERE this happened + debug_print_backtrace(); + die(); } if(substr($filename, 0, 1) != '/')