Single-sign-on and self-serve account management. https://netsyms.biz/apps/accounthub
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 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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" => "accounthub",
  20. "server" => "localhost",
  21. "user" => "accounthub",
  22. "password" => "",
  23. "charset" => "utf8"
  24. ],
  25. // Name of the app.
  26. "site_title" => "AccountHub",
  27. // Used to identify the system in OTP and other places
  28. "system_name" => "Netsyms AccountHub",
  29. // Allow login from the Netsyms mobile app
  30. "mobile_enabled" => true,
  31. // For supported values, see http://php.net/manual/en/timezones.php
  32. "timezone" => "America/Denver",
  33. // List of external apps connected to this system.
  34. // This list is used for generating the dashboard cards and in the
  35. // mobile app.
  36. "apps" => [
  37. "accounthub" => [
  38. "url" => "/accounthub",
  39. "mobileapi" => "/mobile/index.php",
  40. "icon" => "/static/img/logo.svg",
  41. "title" => $SETTINGS['site_title']
  42. ],
  43. "qwikclock" => [
  44. "url" => "/qwikclock",
  45. "mobileapi" => "/mobile/index.php",
  46. "icon" => "/static/img/logo.svg",
  47. "title" => "QwikClock",
  48. "station_features" => [
  49. "qwikclock_punchinout",
  50. "qwikclock_myshifts",
  51. "qwikclock_jobs"
  52. ],
  53. "card" => [
  54. "color" => "blue",
  55. "string" => "Punch in and check work schedule"
  56. ]
  57. ],
  58. "binstack" => [
  59. "url" => "/binstack",
  60. "mobileapi" => "/mobile/index.php",
  61. "icon" => "/static/img/logo.svg",
  62. "title" => "BinStack",
  63. "card" => [
  64. "color" => "green",
  65. "string" => "Manage physical items"
  66. ]
  67. ],
  68. "newspen" => [
  69. "url" => "/newspen",
  70. "mobileapi" => "/mobile/index.php",
  71. "icon" => "/static/img/logo.svg",
  72. "title" => "NewsPen",
  73. "card" => [
  74. "color" => "purple",
  75. "string" => "Create and publish e-newsletters"
  76. ]
  77. ],
  78. "managepanel" => [
  79. "url" => "/managepanel",
  80. "mobileapi" => "/mobile/index.php",
  81. "icon" => "/static/img/logo.svg",
  82. "title" => "ManagePanel",
  83. "card" => [
  84. "color" => "brown",
  85. "string" => "Manage users, permissions, and security"
  86. ]
  87. ],
  88. "nickelbox" => [
  89. "url" => "/nickelbox",
  90. "mobileapi" => "/mobile/index.php",
  91. "icon" => "/static/img/logo.svg",
  92. "title" => "NickelBox",
  93. "card" => [
  94. "color" => "light-green",
  95. "text" => "dark",
  96. "string" => "Checkout customers and manage online orders"
  97. ]
  98. ],
  99. "sitewriter" => [
  100. "url" => "/sitewriter",
  101. "mobileapi" => "/mobile/index.php",
  102. "icon" => "/static/img/logo.svg",
  103. "title" => "SiteWriter",
  104. "card" => [
  105. "color" => "light-blue",
  106. "string" => "Build websites and manage contact form messages"
  107. ]
  108. ],
  109. "taskfloor" => [
  110. "url" => "/taskfloor",
  111. "mobileapi" => "/mobile/index.php",
  112. "icon" => "/static/img/logo.svg",
  113. "title" => "TaskFloor",
  114. "station_features" => [
  115. "taskfloor_viewtasks",
  116. "taskfloor_viewmessages"
  117. ],
  118. "card" => [
  119. "color" => "blue-grey",
  120. "string" => "Track jobs and assigned tasks"
  121. ]
  122. ]
  123. ],
  124. // Settings for sending emails.
  125. "email" => [
  126. // If false, will use PHP mail() instead of a server
  127. "use_smtp" => true,
  128. // Admin email for alerts
  129. "admin_email" => "",
  130. "from" => "alert-noreply@example.com",
  131. "host" => "",
  132. "auth" => true,
  133. "port" => 587,
  134. "secure" => "tls",
  135. "user" => "",
  136. "password" => "",
  137. "allow_invalid_certificate" => true
  138. ],
  139. "min_password_length" => 8,
  140. // Show or hide the Station PIN setup option.
  141. "station_kiosk" => true,
  142. // Used for notification timestamp display.
  143. "datetime_format" => "M j, g:i a",
  144. "time_format" => "g:i",
  145. // Use Captcheck on login screen to slow down bots
  146. // https://captcheck.netsyms.com
  147. "captcha" => [
  148. "enabled" => false,
  149. "server" => "https://captcheck.netsyms.com"
  150. ],
  151. // Language to use for localization. See langs folder to add a language.
  152. "language" => "en",
  153. // Shown in the footer of all the pages.
  154. "footer_text" => "",
  155. // Also shown in the footer, but with "Copyright <current_year>" in front.
  156. "copyright" => "Netsyms Technologies",
  157. // Base URL for building links relative to the location of the app.
  158. "url" => "/accounthub/"
  159. ];