Added zms web path option.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@484 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
183be298bd
commit
744265f4e5
|
@ -25,6 +25,7 @@ define( "ZM_VERSION", "<from zmconfig>" ); // Version Number
|
|||
define( "ZM_PATH_BIN", "<from zmconfig>" ); // Path to binaries
|
||||
define( "ZM_PATH_WEB", "<from zmconfig>" ); // Path to web files
|
||||
define( "ZM_PATH_CGI", "<from zmconfig>" ); // Path to cgi files
|
||||
define( "ZM_PATH_ZMS", "<from zmconfig>" ); // Web path to zms streaming server
|
||||
define( "ZM_DB_SERVER", "<from zmconfig>" ); // Database server
|
||||
define( "ZM_DB_NAME", "<from zmconfig>" ); // Database containing the tables
|
||||
define( "ZM_DB_USERA", "<from zmconfig>" ); // Database login
|
||||
|
@ -82,7 +83,6 @@ define( "ZM_WEB_P_REFRESH_IMAGE", <from zmconfig> ); // How often the watched im
|
|||
define( "ZM_DB_USER", ZM_DB_USERA ); // Database login
|
||||
define( "ZM_DB_PASS", ZM_DB_PASSA ); // Database password
|
||||
define( "ZMU_PATH", ZM_PATH_BIN."/zmu" ); // Local path to the ZoneMinder Utility
|
||||
define( "ZMS_PATH", "/cgi-bin/zms" ); // Web path to the ZoneMinder Stream server
|
||||
|
||||
// These are miscellaneous options you won't normally need to change
|
||||
//
|
||||
|
|
|
@ -344,7 +344,7 @@ function closeWindow()
|
|||
<?php
|
||||
if ( $mode == "stream" )
|
||||
{
|
||||
$stream_src = ZMS_PATH."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY."&ttl=".REFRESH_CYCLE;
|
||||
$stream_src = ZM_PATH_ZMS."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY."&ttl=".REFRESH_CYCLE;
|
||||
if ( isNetscape() )
|
||||
{
|
||||
?>
|
||||
|
@ -501,7 +501,7 @@ function closeWindow()
|
|||
<?php
|
||||
if ( $mode == "stream" )
|
||||
{
|
||||
$stream_src = ZMS_PATH."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY;
|
||||
$stream_src = ZM_PATH_ZMS."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY;
|
||||
if ( isNetscape() )
|
||||
{
|
||||
?>
|
||||
|
@ -678,7 +678,7 @@ function closeWindow()
|
|||
<?php
|
||||
if ( $mode == "stream" )
|
||||
{
|
||||
$stream_src = ZMS_PATH."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY;
|
||||
$stream_src = ZM_PATH_ZMS."?monitor=$monitor[Id]&idle=".STREAM_IDLE_DELAY."&refresh=".STREAM_FRAME_DELAY;
|
||||
if ( isNetscape() )
|
||||
{
|
||||
?>
|
||||
|
@ -1821,7 +1821,7 @@ Learn Pref: <select name="learn_state" class="form" onChange="learn_form.su
|
|||
<?php
|
||||
if ( $mode == "stream" )
|
||||
{
|
||||
$stream_src = ZMS_PATH."?path=".ZM_PATH_WEB."&event=$eid&refresh=".STREAM_EVENT_DELAY;
|
||||
$stream_src = ZM_PATH_ZMS."?path=".ZM_PATH_WEB."&event=$eid&refresh=".STREAM_EVENT_DELAY;
|
||||
if ( isNetscape() )
|
||||
{
|
||||
?>
|
||||
|
|
|
@ -190,6 +190,13 @@ my @options =
|
|||
help => "ZoneMinder generates a myriad of images, mosty of which are associated with events. For those that aren't this is where they go.",
|
||||
type => $types{directory},
|
||||
},
|
||||
{
|
||||
name => "ZM_PATH_ZMS",
|
||||
default => "/cgi-bin/zms",
|
||||
description => "Web path to zms streaming server",
|
||||
help => "The ZoneMinder streaming server is required to send streamed images to your browser. It will be installed into the cgi-bin path given at configuration time. This option determines what the web path to the server is rather than the local path on your machine.",
|
||||
type => $types{rel_path},
|
||||
},
|
||||
{
|
||||
name => "ZM_OPT_CAMBOZOLA",
|
||||
default => "no",
|
||||
|
|
Loading…
Reference in New Issue