just needed it and thought it'd be helpful for all :)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -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) != '/')
|
||||
|
||||
Reference in New Issue
Block a user