An easy point of sale system with automatic inventory tracking. https://netsyms.biz/apps/nickelbox/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

settings.template.php 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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" => "nickelbox",
  20. "server" => "localhost",
  21. "user" => "",
  22. "password" => "",
  23. "charset" => "utf8"
  24. ],
  25. // BinStack database
  26. // Needed for integration
  27. "binstack_database" => [
  28. "type" => "mysql",
  29. "name" => "binstack",
  30. "server" => "localhost",
  31. "user" => "",
  32. "password" => "",
  33. "charset" => "utf8"
  34. ],
  35. // Name of the app.
  36. "site_title" => "NickelBox",
  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. // Absolute path to image.php in the BinStack installation folder
  47. // Required for item images to load
  48. "binstack_image.php" => "/binstack/image.php",
  49. // If there are this many or fewer items,
  50. // load the POS grid view automatically
  51. "grid_default_max_items" => 20,
  52. // PHP date() format string for date display
  53. "datetime_format" => "M j Y g:i A",
  54. // List of required user permissions to access this app.
  55. "permissions" => [
  56. ],
  57. // List of permissions required for API access. Remove to use the value of
  58. // "permissions" instead.
  59. "api_permissions" => [
  60. ],
  61. // For supported values, see http://php.net/manual/en/timezones.php
  62. "timezone" => "America/Denver",
  63. // Language to use for localization. See langs folder to add a language.
  64. "language" => "en",
  65. // Shown in the footer of all the pages.
  66. "footer_text" => "",
  67. // Also shown in the footer, but with "Copyright <current_year>" in front.
  68. "copyright" => "Netsyms Technologies",
  69. // Base URL for building links relative to the location of the app.
  70. // Only used when there's no good context for the path.
  71. // The default is almost definitely fine.
  72. "url" => "."
  73. ];