mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-16 02:24:34 -04:00
Added support for deep-event storage
Signed-off-by: Jai Dhar <jdhar@eyezm.com> git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3200 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
/* There appears to be some discrepancy btw. 1.24.1/2 and .3 for EventPaths, to escape them here */
|
||||
function getEventPathSafe($event)
|
||||
{
|
||||
/* We don't support deep storage yet */
|
||||
if (ZM_USE_DEEP_STORAGE) {
|
||||
logXmlErr("XML Plugin does not support Deep storage yet, contact support@eyezm.com for this bug");
|
||||
$ret = ZM_DIR_EVENTS."/".$event['MonitorId'].'/'.strftime( "%y/%m/%d/%H/%M/%S", strtotime($event['StartTime']) );
|
||||
} else {
|
||||
$ret = ZM_DIR_EVENTS."/".$event['MonitorId']."/".$event['Id'];
|
||||
}
|
||||
$ret = ZM_DIR_EVENTS."/".$event['MonitorId']."/".$event['Id'];
|
||||
return $ret;
|
||||
}
|
||||
function updateClientVer()
|
||||
|
||||
Reference in New Issue
Block a user