Files
zoneminder/web/api/app/Model
Nic Boet d27b565a8d fix: correct App::uses package path in CameraModel
App::uses('AppModel', 'CameraModel') tells CakePHP to look for AppModel
in a non-existent 'CameraModel' package. The correct second argument is
'Model', which points to app/Model/AppModel.php where the base class
actually lives.

This was likely a copy-paste error — every other model in the codebase
correctly uses App::uses('AppModel', 'Model'). The bug may go unnoticed
when another model loads AppModel first via CakePHP's autoloader, but
causes a fatal error if CameraModel is the first model resolved in a
request (e.g. hitting the camera models API endpoint directly).
2026-02-15 15:38:08 -05:00
..
2021-02-02 23:19:52 -05:00
2019-12-20 14:56:14 -05:00
2018-03-13 22:28:38 -04:00
2014-11-15 19:03:40 +00:00
2025-09-06 11:34:09 -04:00
2016-05-02 10:41:25 -04:00
2023-02-26 17:04:05 -05:00
2018-05-07 14:09:05 -07:00
2023-11-03 13:33:28 -04:00
2020-09-10 13:31:39 -04:00