Added zmfilter.pl to daemons.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@217 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2002-12-24 12:42:57 +00:00
parent 80f4096976
commit 65a07fe591
1 changed files with 12 additions and 9 deletions

View File

@ -53,15 +53,6 @@ switch( $view )
daemonControl( 'shutdown' );
}
if ( $start && FAST_DELETE )
{
daemonControl( 'start', 'zmaudit.pl', '-d 900 -y' );
}
if ( $start && HAS_X10 )
{
daemonControl( 'start', 'zmx10.pl', '-c start' );
}
header("Refresh: ".(($start||$stop)?1:REFRESH_MAIN)."; URL='$PHP_SELF'" );
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
@ -96,6 +87,7 @@ switch( $view )
{
zmcControl( $row );
zmaControl( $row );
daemonControl( 'start', 'zmfilter.pl', "-m $row[Id] -e -1" );
}
$row['zma'] = zmaCheck( $row );
if ( $max_width < $row[Width] ) $max_width = $row[Width];
@ -111,6 +103,17 @@ switch( $view )
$cycle_count++;
}
}
if ( $start )
{
if ( FAST_DELETE )
{
daemonControl( 'start', 'zmaudit.pl', '-d 900 -y' );
}
if ( HAS_X10 )
{
daemonControl( 'start', 'zmx10.pl', '-c start' );
}
}
?>
<html>
<head>