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