Change Events directory to per-user
Posted: Thu Jul 23, 2009 11:13 am
hi,
is it possible to change the "events" directory to per-user?
example: "userdir/<USER_ID>/events/"
what i want is, every registered user has their own monitors.
i already modified the PHP script to show only their created monitors.
and i need to change their recorded files to their owned directory.
if i have 3 users, then the events folder should be:
user1 ==> userdir/1/events/....
user2 ==> userdir/2/events/....
user3 ==> userdir/3/events/....
i have no problem with the php code, and the web already pointing to their userdir. but i'm stuck with perl. Zoneminder still save the files to /events/
any help?
*nb:
i'm sorry if there's somebody already asked this.
i searched this forum and no luck...
is it possible to change the "events" directory to per-user?
example: "userdir/<USER_ID>/events/"
what i want is, every registered user has their own monitors.
i already modified the PHP script to show only their created monitors.
and i need to change their recorded files to their owned directory.
if i have 3 users, then the events folder should be:
user1 ==> userdir/1/events/....
user2 ==> userdir/2/events/....
user3 ==> userdir/3/events/....
i have no problem with the php code, and the web already pointing to their userdir. but i'm stuck with perl. Zoneminder still save the files to /events/
any help?
*nb:
i'm sorry if there's somebody already asked this.
i searched this forum and no luck...