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) != '/')