zoneminder/web/api/app
Nic Boet c54899a8d4 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-13 19:53:13 -06:00
..
Config feat: add User Roles feature for reusable permission templates 2026-01-29 13:34:27 -05:00
Console further merges from cakephp 2.10.8 2018-03-21 13:09:55 -04:00
Controller feat: add User Roles feature for reusable permission templates 2026-01-29 13:34:27 -05:00
Model fix: correct App::uses package path in CameraModel 2026-02-13 19:53:13 -06:00
Plugin Put back to 3.0 2023-02-01 14:34:05 -05:00
View Add Tags support to API 2023-11-03 13:33:28 -04:00
vendor Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
webroot Upgrade cakephp to 2.10.24 2021-03-31 12:11:12 -04:00
index.php Upgrade cakephp to 2.10.24 2021-03-31 12:11:12 -04:00