more and less debug

This commit is contained in:
Isaac 2018-01-23 18:16:37 +01:00
parent 8544589843
commit de08e3114e
2 changed files with 1 additions and 2 deletions

View File

@ -206,7 +206,7 @@ while ( $event_row = dbFetchNext( $results ) ) {
<td class="colThumbnail">
<?php
if ( ( $event->SaveJPEGs() == 0 ) and file_exists($event->Path().'/snapshot.jpg') ) {
Logger::Debug("Using snapshot");
Logger::Debug("Using snapshot" . $event->Path().'/snapshot.jpg' );
$imgSrc = '?view=image&amp;eid='.$event->Id().'&amp;fid=snapshot&amp;width='.$thumbData['Width'].'&amp;height='.$thumbData['Height'];
} else {
Logger::Debug("Not Using snapshot" . $event->Path().'/snapshot.jpg' );

View File

@ -66,7 +66,6 @@ if ( empty($_REQUEST['path']) ) {
$Frame = new Frame();
$Frame->FrameId('snapshot');
$path = $Event->Path().'/snapshot.jpg';
Warning("Path to snapshot: $path");
} else {
$show = empty($_REQUEST['show']) ? 'capture' : $_REQUEST['show'];