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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. // URL of the Portal home page
  27. define("PORTAL_URL", "http://localhost/home.php");
  28. // Business Portal API Key
  29. define("PORTAL_KEY", "123");
  30. // For supported values, see http://php.net/manual/en/timezones.php
  31. define("TIMEZONE", "America/Denver");
  32. // Base URL for site links.
  33. define('URL', 'http://localhost:8000/');
  34. // Use reCAPTCHA on login screen
  35. // https://www.google.com/recaptcha/
  36. define("RECAPTCHA_ENABLED", FALSE);
  37. define('RECAPTCHA_SITE_KEY', '');
  38. define('RECAPTCHA_SECRET_KEY', '');
  39. // See lang folder for language options
  40. define('LANGUAGE', "en_us");
  41. // Minimum length for new passwords
  42. // The system checks new passwords against the 500 worst passwords and rejects
  43. // any matches.
  44. // If you want to have additional password requirements, go edit action.php.
  45. // However, all that does is encourage people to use the infamous
  46. // "post-it password manager". See also https://xkcd.com/936/ and
  47. // http://stackoverflow.com/a/34166252/2534036 for reasons why forcing passwords
  48. // like CaPs45$% is not actually a great idea.
  49. // Encourage users to use 2-factor auth whenever possible.
  50. define("MIN_PASSWORD_LENGTH", 8);
  51. //////////////////////////////////////////////////////////////
  52. // /!\ Warning: Changing these values may /!\ //
  53. // /!\ violate the terms of your license agreement! /!\ //
  54. //////////////////////////////////////////////////////////////
  55. define("LICENSE_TEXT", "<b>Free Software: MIT License</b>");
  56. define("COPYRIGHT_NAME", "Netsyms Technologies");
  57. //////////////////////////////////////////////////////////////