mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-12-05 00:20:33 +01:00
bf3446bba0
- added information to several docblocks - changed handling of request headers, added private property for this - applied changes for improved use of require_once in the README and examples - added `list_sites()` example - *potential breaking changes:* renamed `get_request_type()` and `set_request_type()` functions/methods to `get_request_method()` and `set_request_method()` respectively
24 lines
976 B
PHP
Executable File
24 lines
976 B
PHP
Executable File
<?php
|
|
/**
|
|
* Copyright (c) 2021, Art of WiFi
|
|
*
|
|
* This file is subject to the MIT license that is bundled with this package in the file LICENSE.md
|
|
*/
|
|
|
|
/**
|
|
* Controller configuration
|
|
* ===============================
|
|
* Copy this file to your working directory, rename it to config.php and update the section below with your UniFi
|
|
* controller details and credentials
|
|
*/
|
|
$controlleruser = ''; // the user name for access to the UniFi Controller
|
|
$controllerpassword = ''; // the password for access to the UniFi Controller
|
|
$controllerurl = ''; // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443', for UniFi OS-based
|
|
// controllers a port suffix isn't required, no trailing slashes should be added
|
|
$controllerversion = ''; // the version of the Controller software, e.g. '4.6.6' (must be at least 4.0.0)
|
|
|
|
/**
|
|
* set to true (without quotes) to enable debug output to the browser and the PHP error log
|
|
*/
|
|
$debug = false;
|