Skip to content
Snippets Groups Projects
Commit 41a2da23 authored by Robin Appelman's avatar Robin Appelman
Browse files

remove some debug output and supress some possible errors

parent 9d1c5c85
Branches
No related tags found
Loading
......@@ -72,7 +72,7 @@ if($path!==false){
header('Content-Length: ' . OC_FILESYSTEM::filesize($path));
//download the file
ob_clean();
@ob_clean();
OC_FILESYSTEM::readfile($path);
}
}else{
......
......@@ -33,7 +33,7 @@ require_once('../lib_scanner.php');
error_reporting(E_ALL); //no script error reporting because of getID3
$arguments=$_POST;
print_r($_POST);
if(!isset($_POST['action']) and isset($_GET['action'])){
$arguments=$_GET;
}
......@@ -42,7 +42,7 @@ foreach($arguments as &$argument){
$argument=stripslashes($argument);
}
global $CONFIG_DATADIRECTORY;
ob_clean();
@ob_clean();
if(!isset($arguments['artist'])){
$arguments['artist']=0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment