Page 1 of 1
Can't alter camera params from interface
Posted: Mon Aug 25, 2003 10:54 pm
by maxs
Forum:
Re: Can't alter camera params from interface
Posted: Mon Aug 25, 2003 10:59 pm
by maxs
Forum:
I was unable to change camera brightness etc. when authentication was active.
I noticed that in zm_actions.php, when zmu tries to change camera parameters,
it wasn't passing in a userid or password.
In zm_actions.php, around line 297, I changed this:
$zmu_command = ZMU_PATH." -m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour";
to this:
$zmu_command = ZMU_COMMAND." -m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour";
ZMU_COMMAND is defined in zm_html.php. The userid/password are tagged on if
authentication is active. I suspect this instance of ZMU_PATHEwas just missed when
authentication was added.
thanks
Tom
Re: Can't alter camera params from interface
Posted: Thu Sep 04, 2003 8:16 pm
by zoneminder
Hi Tom,
Thanks for spotting this and diagnosing it. I'll put a fix into the next version.
Cheers,
Phil,