QwikClock is an employee time tracking app.
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.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. // Whether to show debugging data in output.
  3. // DO NOT SET TO TRUE IN PRODUCTION!!!
  4. define("DEBUG", false);
  5. // Database connection settings
  6. // See http://medoo.in/api/new for info
  7. define("DB_TYPE", "mysql");
  8. define("DB_NAME", "app");
  9. define("DB_SERVER", "localhost");
  10. define("DB_USER", "app");
  11. define("DB_PASS", "");
  12. define("DB_CHARSET", "utf8");
  13. define("SITE_TITLE", "Web App Template");
  14. // Used to identify the system in OTP and other places
  15. define("SYSTEM_NAME", "Web App Template");
  16. // Which pages to show the app icon on:
  17. // index, app, both, none
  18. define("SHOW_ICON", "both");
  19. // Where to put the icon: top or menu
  20. // Overridden to 'menu' if MENU_BAR_STYLE is 'fixed'.
  21. define("ICON_POSITION", "menu");
  22. // App menu bar style: fixed or static
  23. define("MENU_BAR_STYLE", "fixed");
  24. // URL of the Business Portal API endpoint
  25. define("PORTAL_API", "http://localhost/api.php");
  26. // Business Portal API Key
  27. define("PORTAL_KEY", "123");
  28. // For supported values, see http://php.net/manual/en/timezones.php
  29. define("TIMEZONE", "America/Denver");
  30. // Base URL for site links.
  31. define('URL', 'http://localhost:8000/');
  32. // Use reCAPTCHA on login screen
  33. // https://www.google.com/recaptcha/
  34. define("RECAPTCHA_ENABLED", FALSE);
  35. define('RECAPTCHA_SITE_KEY', '');
  36. define('RECAPTCHA_SECRET_KEY', '');
  37. // See lang folder for language options
  38. define('LANGUAGE', "en_us");
  39. // Minimum length for new passwords
  40. // The system checks new passwords against the 500 worst passwords and rejects
  41. // any matches.
  42. // If you want to have additional password requirements, go edit action.php.
  43. // However, all that does is encourage people to use the infamous
  44. // "post-it password manager". See also https://xkcd.com/936/ and
  45. // http://stackoverflow.com/a/34166252/2534036 for reasons why forcing passwords
  46. // like CaPs45$% is not actually a great idea.
  47. // Encourage users to use 2-factor auth whenever possible.
  48. define("MIN_PASSWORD_LENGTH", 8);
  49. //////////////////////////////////////////////////////////////
  50. // /!\ Warning: Changing these values may /!\ //
  51. // /!\ violate the terms of your license agreement! /!\ //
  52. //////////////////////////////////////////////////////////////
  53. define("LICENSE_TEXT", "<b>Free Software: MIT License</b>");
  54. define("COPYRIGHT_NAME", "Netsyms Technologies");
  55. //////////////////////////////////////////////////////////////