The base template for building the Netsyms Apps.
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.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. // List of required user permissions to access this app.
  37. "permissions" => [
  38. ],
  39. // List of permissions required for API access. Remove to use the value of
  40. // "permissions" instead.
  41. "api_permissions" => [
  42. ],
  43. // For supported values, see http://php.net/manual/en/timezones.php
  44. "timezone" => "America/Denver",
  45. // Language to use for localization. See langs folder to add a language.
  46. "language" => "en",
  47. // Shown in the footer of all the pages.
  48. "footer_text" => "",
  49. // Also shown in the footer, but with "Copyright <current_year>" in front.
  50. "copyright" => "Netsyms Technologies",
  51. // Base URL for building links relative to the location of the app.
  52. // Only used when there's no good context for the path.
  53. // The default is almost definitely fine.
  54. "url" => "."
  55. ];