Use Debug for debug output instead of Error

pull/1624/head
Isaac Connor 2016-06-27 10:27:26 -04:00
parent 0a4eee323b
commit 9f00971e6b
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ if ( ! empty($_REQUEST['eid'] ) ) {
$Event = new Event( $_REQUEST['eid'] );
$Storage = $Event->Storage();
$path = $Event->Relative_Path().'/'.$Event->DefaultVideo();
Error("Path: $path");
Debug("Path: $path");
} else {
$errorText = "No video path";
}
@ -54,7 +54,7 @@ else{
if ( ! readfile( $Storage->Path().'/'.$path ) ) {
Error("No bytes read from ". $Storage->Path() . '/'.$path );
} else {
Error("Success sending " . $Storage->Path().'/'.$path );
Debug("Success sending " . $Storage->Path().'/'.$path );
}
}
?>