Account and permission manager and security log viewer. https://netsyms.biz/apps/managepanel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings.template.php 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. /*
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. */
  7. // Settings for the app.
  8. // Copy to settings.php and customize.
  9. $SETTINGS = [
  10. // Whether to output debugging info like PHP notices, warnings,
  11. // and stacktraces.
  12. // Turning this on in production is a security risk and can sometimes break
  13. // things, such as JSON output where extra content is not expected.
  14. "debug" => false,
  15. // Database connection settings
  16. // See http://medoo.in/api/new for info
  17. // AccountHub database
  18. "database" => [
  19. "type" => "mysql",
  20. "name" => "accounthub",
  21. "server" => "localhost",
  22. "user" => "app",
  23. "password" => "",
  24. "charset" => "utf8"
  25. ],
  26. // ManagePanel database
  27. "database2" => [
  28. "type" => "mysql",
  29. "name" => "managepanel",
  30. "server" => "localhost",
  31. "user" => "app",
  32. "password" => "",
  33. "charset" => "utf8"
  34. ],
  35. // Name of the app.
  36. "site_title" => "ManagePanel",
  37. // Settings for connecting to the AccountHub server.
  38. "accounthub" => [
  39. // URL for the API endpoint
  40. "api" => "http://localhost/accounthub/api/",
  41. // URL of the home page
  42. "home" => "http://localhost/accounthub/home.php",
  43. // API key
  44. "key" => "123"
  45. ],
  46. // List of required user permissions to access this app.
  47. "permissions" => [
  48. "ADMIN"
  49. ],
  50. // Set to true to hide the API key in use by ManagePanel from the editor.
  51. "hide_api_key_in_use" => false,
  52. // List of permissions required for API access. Remove to use the value of
  53. // "permissions" instead.
  54. "api_permissions" => [
  55. "ADMIN"
  56. ],
  57. // For supported values, see http://php.net/manual/en/timezones.php
  58. "timezone" => "America/Denver",
  59. // Language to use for localization. See langs folder to add a language.
  60. "language" => "en",
  61. // Shown in the footer of all the pages.
  62. "footer_text" => "",
  63. // Also shown in the footer, but with "Copyright <current_year>" in front.
  64. "copyright" => "Netsyms Technologies",
  65. // Base URL for building links relative to the location of the app.
  66. // Only used when there's no good context for the path.
  67. // The default is almost definitely fine.
  68. "url" => "."
  69. ];