Use Debug for debug output instead of Error
parent
0a4eee323b
commit
9f00971e6b
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue