mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-11-25 03:30:42 +01:00
d7827fdbf1
Finalised merge of PRs #10, #11, #12 and #13 Methods/functions added: - list_country_codes() - set_guestlogin_settings_base() - set_site_connectivity() - set_site_country() - set_site_guest_access() - set_site_locale() - set_site_mgmt() - set_site_name() - set_site_ntp() - set_site_snmp() Examples added: - ap_upgrade_firmware.php - site_provisioning_example - update_ac-iw_ports.php
25 lines
854 B
PHP
Executable File
25 lines
854 B
PHP
Executable File
<?php
|
|
/**
|
|
* Copyright (c) 2017, 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'
|
|
$controllerversion = ''; // the version of the Controller software, eg. '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;
|