Skip to content
Snippets Groups Projects
Commit 9188d2a8 authored by Lukas Reschke's avatar Lukas Reschke Committed by Jörn Friedrich Dreyer
Browse files

Add a missing exit();

parent 4e5291c7
Branches
No related tags found
No related merge requests found
...@@ -40,6 +40,7 @@ $dir = isset( $_GET['dir'] ) ? stripslashes($_GET['dir']) : ''; ...@@ -40,6 +40,7 @@ $dir = isset( $_GET['dir'] ) ? stripslashes($_GET['dir']) : '';
// Redirect if directory does not exist // Redirect if directory does not exist
if(!OC_Filesystem::is_dir($dir.'/')) { if(!OC_Filesystem::is_dir($dir.'/')) {
header('Location: '.$_SERVER['SCRIPT_NAME'].''); header('Location: '.$_SERVER['SCRIPT_NAME'].'');
exit();
} }
$files = array(); $files = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment