zoneminder/web/api
ralimi ecb7df0e8b Support SSL for mysql connections (#1965)
* Fix install location for config files when building to alternate directory.

With the previous code, we ended up with a directory structure like the following:

$ find /etc/zm/conf.d/
/etc/zm/conf.d/
/etc/zm/conf.d/01-system-paths.conf
/etc/zm/conf.d/conf.d
/etc/zm/conf.d/conf.d/README
/etc/zm/conf.d/conf.d/02-multiserver.conf

* Omitted README file that should have appeared in /etc/zm/conf.d

* Fix location for configs when building to alternate directory.

* Fix works, but this should go on a branch instead.

* Fix works, but this should go on a branch instead.

* Fix location for configs when building to alternate directory.

With the previous code, we ended up with a directory structure like the following:

$ find /etc/zm/conf.d/
/etc/zm/conf.d/
/etc/zm/conf.d/01-system-paths.conf
/etc/zm/conf.d/conf.d
/etc/zm/conf.d/conf.d/README
/etc/zm/conf.d/conf.d/02-multiserver.conf

* Remove double quotes. This is a list of paths.

* Allow SSL database connection to be secured with SSL.

* Fix incorrect variable name

* Fix PHP syntax errors

* SSL connection parameters must also be passed in API.

* Revert fixes to build files; they should not be in this branch.
2017-08-14 10:30:42 -04:00
..
app Support SSL for mysql connections (#1965) 2017-08-14 10:30:42 -04:00
lib/Cake Merge pull request #1856 from connortechnology/remove_BOM 2017-04-17 08:32:17 -05:00
.editorconfig Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
.gitattributes Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
.gitignore Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
.htaccess Added "RewriteBase /zm/api" for API routing 2015-07-05 08:59:07 -04:00
CMakeLists.txt Update CMakeLists.txt 2017-05-03 12:35:54 -05:00
CONTRIBUTING.md Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
README.md Update README.md 2015-08-21 11:29:35 +02:00
build.properties Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
build.xml Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
composer.json Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
index.php Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00

README.md

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