what file and which sections responsible for deleting files.

Support and queries relating to all previous versions of ZoneMinder
Locked
johnmiles79
Posts: 17
Joined: Wed Aug 06, 2003 8:25 pm

what file and which sections responsible for deleting files.

Post by johnmiles79 »

I'd like to know is it zmaudit which is responsible for physically deletings files from teh events directory? If so where may I find the code that is related to removing the images and folders from the disk?

I'm trying to determine why my folders and images are not deleted when I set to delete them.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: what file and which sections responsible for deleting fi

Post by zoneminder »

Hi John,

What deletes your files and directories depends on whether you have FAST_DELETES on (in the options page). If fast deletes are on then the ZM web interface only deletes the DB entries for speed and leaves zmaudit to do the rest. If fast deletes are off then the php code in the web pages themselves is responsible for this.

Regards,

Phil,
Locked