Update ConfigData.pm.in
Changing the help text for DIR_EVENTS, DIR_IMAGES, and DIR_SOUNDS to make it more obvious that one should not specify a folder outside the web root and that one should probably not ever change these values from their default.
This commit is contained in:
parent
887fe24b98
commit
60ed8d7366
|
@ -157,7 +157,7 @@ our @options =
|
|||
name => "ZM_DIR_EVENTS",
|
||||
default => "events",
|
||||
description => "Directory where events are stored",
|
||||
help => "This is the path to the events directory where all the event images and other miscellaneous files are stored. It is normally given as a subdirectory of the web directory you have specified earlier however if disk space is tight it can reside on another partition in which case you should create a link from that area to the path you give here.",
|
||||
help => "This is the path to the events directory where all the event images and other miscellaneous files are stored. CAUTION: The directory you specify here cannot be outside the web root. This is a common mistake. Most users should never change this value. If you intend to record events to a second disk or network share, then you should mount the drive or share directly to the ZoneMinder events folder or follow the instructions in the ZoneMinder Wiki titled Using a dedicated Hard Drive.",
|
||||
type => $types{directory},
|
||||
category => "paths",
|
||||
},
|
||||
|
@ -173,7 +173,7 @@ our @options =
|
|||
name => "ZM_DIR_IMAGES",
|
||||
default => "images",
|
||||
description => "Directory where the images that the ZoneMinder client generates are stored",
|
||||
help => "ZoneMinder generates a myriad of images, mosty of which are associated with events. For those that aren't this is where they go.",
|
||||
help => "ZoneMinder generates a myriad of images, mostly of which are associated with events. For those that aren't this is where they go. CAUTION: The directory you specify here cannot be outside the web root. This is a common mistake. Most users should never change this value. If you intend to save images to a second disk or network share, then you should mount the drive or share directly to the ZoneMinder images folder or follow the instructions in the ZoneMinder Wiki titled Using a dedicated Hard Drive.",
|
||||
type => $types{directory},
|
||||
category => "paths",
|
||||
},
|
||||
|
@ -181,7 +181,7 @@ our @options =
|
|||
name => "ZM_DIR_SOUNDS",
|
||||
default => "sounds",
|
||||
description => "Directory to the sounds that the ZoneMinder client can use",
|
||||
help => "ZoneMinder can optionally play a sound file when an alarm is detected. This indicates where (relative to the web root) to look for this file.",
|
||||
help => "ZoneMinder can optionally play a sound file when an alarm is detected. This indicates where to look for this file. CAUTION: The directory you specify here cannot be outside the web root. Most users should never change this value.",
|
||||
type => $types{directory},
|
||||
category => "paths",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue