mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-25 09:11:53 -04:00
Remove phpunit/phpunit from require-dev in web/api/composer.json. The pinned ^3.7 version is vulnerable to unsafe deserialization in PHPT code coverage handling. Since ZoneMinder does not run CakePHP unit tests in CI, the dependency is unused. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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 addition, 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