Skip to content

Example config.php

Mentor Gashi edited this page Oct 25, 2018 · 3 revisions
<?php

return array(
	"api" => array(
		"key" => "unique-secret-api-key",
		"version" => "0.4",
		"autoUpdates" => false,
		"indexPage" => true,
		"releaseUrl" => "https://api.github.com/repos/albismart/client-api/releases/latest"
	),
	"database" => array(
		"host" => "localhost",
		"port" => "3306",
		"name" => "albismart",
		"username" => "clientapi",
		"password" => "albismart"
	),
	"snmp" => array(
		"community" => "albismart",
		"wcommunity" => "",
		"timeout" => "",
		"retries" => ""
	),
	"omapi" => array(
		"hostname" => "127.0.0.1",
		"port" => "7911",
		"key" => "long-secret-key",
		"omshellPath" => "/usr/bin/omshell"
	)
);

?>