Game server and admin dashboard for TerranQuest.
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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. "database" => [
  18. "type" => "mysql",
  19. "name" => "app",
  20. "server" => "localhost",
  21. "user" => "app",
  22. "password" => "",
  23. "charset" => "utf8"
  24. ],
  25. // Name of the app.
  26. "site_title" => "Web App Template",
  27. // Settings for connecting to the AccountHub server.
  28. "accounthub" => [
  29. // URL for the API endpoint
  30. "api" => "http://localhost/accounthub/api/",
  31. // URL of the home page
  32. "home" => "http://localhost/accounthub/home.php",
  33. // API key
  34. "key" => "123"
  35. ],
  36. // For supported values, see http://php.net/manual/en/timezones.php
  37. "timezone" => "America/Denver",
  38. // Language to use for localization. See langs folder to add a language.
  39. "language" => "en",
  40. // Shown in the footer of all the pages.
  41. "footer_text" => "",
  42. // Also shown in the footer, but with "Copyright <current_year>" in front.
  43. "copyright" => "Netsyms Technologies",
  44. // Base URL for building links relative to the location of the app.
  45. // Only used when there's no good context for the path.
  46. // The default is almost definitely fine.
  47. "url" => "."
  48. ];