Advertisement
Deadlus

Untitled

Mar 22nd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. <?php
  2. /**
  3. * Copyright (c) 2017, Art of WiFi
  4. *
  5. * This file is subject to the MIT license that is bundled
  6. * with this package in the file LICENSE.md
  7. *
  8. */
  9.  
  10. /**
  11. * Optionally copy/rename this configuration template file to config.php and store all or part of your credentials
  12. *
  13. * IMPORTANT NOTE:
  14. * If credential information is not specified in this file, or the file is not copied to config.php,
  15. * or only part of the credentials are provided, then the API browser will show a form to complete the login
  16. */
  17.  
  18. /**
  19. * Single controller configuration
  20. * ===============================
  21. * Update this section with your UniFi controller details and credentials
  22. * Remove or comment out this section when using the Multi controller configuration method
  23. */
  24. $controlleruser = 'opmon'; // the user name for access to the UniFi Controller
  25. $controllerpassword = '@tive2018'; // the password for access to the UniFi Controller
  26. $controllerurl = 'https://10.10.3.17:8443'; // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
  27. $controllername = 'SSP06WCT01'; // name for this controller
  28.  
  29. /**
  30. * Multi controller configuration
  31. * ==============================
  32. * Only modify and uncomment this section when NOT using the above Single controller configuration method.
  33. * The number of controllers that can be added is unlimited, just take care to correctly increment the
  34. * index values (0,1,2 etc.)
  35. *
  36. * Please remember to only have one of either two methods active!
  37. *
  38. * IMPORTANT NOTE:
  39. * If you use the multi controller method, then at least the 'name' value is required for each controller entry
  40. */
  41. /*
  42. $controllers[0] = [
  43. 'user' => '', // the user name for access to the UniFi Controller
  44. 'password' => '', // the password for access to the UniFi Controller
  45. 'url' => '', // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
  46. 'name' => '' // REQUIRED: name for this controller which will be used in the dropdown menu
  47. ];
  48.  
  49. $controllers[1] = [
  50. 'user' => '', // the user name for access to the UniFi Controller
  51. 'password' => '', // the password for access to the UniFi Controller
  52. 'url' => '', // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
  53. 'name' => '' // REQUIRED: name for this controller which will be used in the dropdown menu
  54. ];
  55.  
  56. $controllers[2] = [
  57. 'user' => 'demo', // the user name for access to the Unifi Controller
  58. 'password' => 'demo', // the password for access to the Unifi Controller
  59. 'url' => 'https://demo.ubnt.com:443', // full url to the Unifi Controller, eg. 'https://22.22.11.11:8443'
  60. 'name' => 'demo.ubnt.com' // REQUIRED: name for this controller which will be used in the dropdown menu
  61. ];
  62. */
  63.  
  64. /**
  65. * Optionally uncomment and change the default options below
  66. */
  67. //$cookietimeout = '3600'; // time of inactivity in seconds, after which the PHP session cookie will be refreshed
  68. // after the cookie refresh the site and data collection will need to be selected again
  69.  
  70. //$theme = 'bootstrap'; // your default theme of choice, pick one from the list below:
  71. // bootstrap, cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper
  72. // readable, sandstone, simplex, slate, spacelab, superhero, united, yeti
  73.  
  74. $debug = true; // set to true (without quotes) to enable debug output to the browser and the PHP error log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement