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
pull/27/merge
jaidhar 2010-11-18 19:08:48 +00:00
parent c7b3d04eed
commit 18bcfcff7f
1 changed files with 3 additions and 3 deletions

View File

@ -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()