From 5a84cbaa4eae85e2a05373920c17bc9ca9e96554 Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 10 Dec 2002 10:54:06 +0000 Subject: [PATCH] Changed to .in file for use with configure scripts. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@137 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zmconfig.php.z | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/zmconfig.php.z b/web/zmconfig.php.z index 2c3161735..1bae38abb 100644 --- a/web/zmconfig.php.z +++ b/web/zmconfig.php.z @@ -24,10 +24,7 @@ define( "DB_NAME", "zm" ); // Database containing the tables define( "DB_USER", "zmadmin" ); // Database login define( "DB_PASS", "zmadminzm" ); // Database password -define( "MAX_EVENTS", 12 ); // The maximum number of events to show in the default event listing -define( "ALARM_POPUP", 1 ); // Whether the watch window jumps to front if an alarm occurs -define( "ALARM_SOUND", "Yeow.wav" ); // A sound to play on alarm -define( "ZM_PATH", "/usr/local/bin" ); // Path to the general ZoneMonitor executables +define( "ZM_PATH", "@prefix@/bin" ); // Path to the general ZoneMonitor executables define( "ZMU_PATH", ZM_PATH."/zmu" ); // Path to the Zone Monitor Utility define( "ZMS_PATH", "/cgi-bin/zms" ); // Path to the Zone Monitor Stream server define( "EVENT_PATH", "events" ); // Local path to where events directory lives @@ -36,6 +33,10 @@ define( "CAMBOZOLA_PATH", "cambozola.jar" ); // Path to (optional) cambozola jav define( "MPEG_ENCODE_PATH", "./mpeg_encode" ); // Path to (optional) mpeg video encoder define( "NETPBM_DIR", "/usr/bin" ); // Path to (optional) Netpbm utilities +define( "MAX_EVENTS", 12 ); // The maximum number of events to show in the monitor event listing +define( "ALARM_POPUP", 1 ); // Whether the watch window jumps to front if an alarm occurs +define( "ALARM_SOUND", "Yeow.wav" ); // A sound to play on alarm + switch ( $bandwidth ) { case "high" : @@ -80,7 +81,7 @@ switch ( $bandwidth ) define( "IMAGE_SCALING", 4 ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling break; } - case "mobile" : + case "mobile" : // Very incomplete, most of these options don't do anything { define( "REFRESH_MAIN", 300 ); // How often (in seconds) the main console window refreshes define( "REFRESH_CYCLE", 30 ); // How often the cycle watch windows swaps to the next monitor