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.6KB

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