more and less debug
This commit is contained in:
parent
8544589843
commit
de08e3114e
|
@ -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&eid='.$event->Id().'&fid=snapshot&width='.$thumbData['Width'].'&height='.$thumbData['Height'];
|
||||
} else {
|
||||
Logger::Debug("Not Using snapshot" . $event->Path().'/snapshot.jpg' );
|
||||
|
|
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue