SiteWriter is an easy-to-use website builder system. https://netsyms.biz/apps/sitewriter
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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. // Whether to show debugging data in output.
  6. // DO NOT SET TO TRUE IN PRODUCTION!!!
  7. define("DEBUG", false);
  8. // Database connection settings
  9. // See http://medoo.in/api/new for info
  10. define("DB_TYPE", "mysql");
  11. define("DB_NAME", "sitewriter");
  12. define("DB_SERVER", "localhost");
  13. define("DB_USER", "sitewriter");
  14. define("DB_PASS", "");
  15. define("DB_CHARSET", "utf8");
  16. // Name of the app.
  17. define("SITE_TITLE", "SiteWriter");
  18. define("SMTP_HOST", "");
  19. define("SMTP_AUTH", true);
  20. define("SMTP_SECURITY", "tls"); // tls, ssl, or none
  21. define("SMTP_PORT", 25);
  22. define("SMTP_USERNAME", "");
  23. define("SMTP_PASSWORD", "");
  24. define("SMTP_FROMADDRESS", "sitewriter@example.com");
  25. define("SMTP_FROMNAME", "SiteWriter");
  26. // URL of the AccountHub API endpoint
  27. define("PORTAL_API", "http://localhost/accounthub/api.php");
  28. // URL of the AccountHub home page
  29. define("PORTAL_URL", "http://localhost/accounthub/home.php");
  30. // AccountHub API Key
  31. define("PORTAL_KEY", "123");
  32. // For supported values, see http://php.net/manual/en/timezones.php
  33. define("TIMEZONE", "America/Denver");
  34. // Base URL for site links.
  35. define('URL', '/sitewriter');
  36. // Folder for public files
  37. // This should not be inside the web root for security reasons.
  38. define('FILE_UPLOAD_PATH', __DIR__ . '/public/files');
  39. // Use pretty URLs (requires correct web server configuration)
  40. define('PRETTY_URLS', false);
  41. // Location of MaxMind GeoIP database
  42. //
  43. // I'll just leave this here:
  44. // This product includes GeoLite2 data created by MaxMind, available from
  45. // http://www.maxmind.com
  46. define('GEOIP_DB', __DIR__ . "/GeoLite2-City.mmdb");
  47. // Unsplash photo integration
  48. define('ENABLE_UNSPLASH', false);
  49. define('UNSPLASH_APPID', '');
  50. define('UNSPLASH_ACCESSKEY', '');
  51. define('UNSPLASH_SECRETKEY', '');
  52. define('UNSPLASH_UTMSOURCE', 'SiteWriter');
  53. // Use Captcheck on login screen
  54. // https://captcheck.netsyms.com
  55. define("CAPTCHA_ENABLED", FALSE);
  56. define('CAPTCHA_SERVER', 'https://captcheck.netsyms.com');
  57. // See lang folder for language options
  58. define('LANGUAGE', "en_us");
  59. define("FOOTER_TEXT", "");
  60. define("COPYRIGHT_NAME", "Netsyms Technologies");