mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-11 12:12:05 -04:00
* include includes/functions.php so that we have access to all it's contents * add a beforeDelete function which deletes the files. Add other needed functions like Path() LinkPath() etc. * add require_once for Storage and functions because we use them in Event * Now that ZM has namespaces use the ZM Event class to do the heavy lifting of delete * Don't need functions in AppController anymore
ZoneMinder API
This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.
app/Config/database.php.default must be configured and copied to app/Config/database.php
In adition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.
The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php