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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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" => "sitewriter",
  20. "server" => "localhost",
  21. "user" => "",
  22. "password" => "",
  23. "charset" => "utf8"
  24. ],
  25. // Name of the app.
  26. "site_title" => "SiteWriter",
  27. // Settings for connecting to the AccountHub server.
  28. "accounthub" => [
  29. // URL for the API endpoint
  30. "api" => "http://localhost/accounthub/api/",
  31. // URL of the home page
  32. "home" => "http://localhost/accounthub/home.php",
  33. // API key
  34. "key" => "123"
  35. ],
  36. // Folder for public files
  37. "file_upload_path" => __DIR__ . "/public/files",
  38. // Use pretty URLs (requires correct web server configuration)
  39. "pretty_urls" => false,
  40. // Location of MaxMind GeoIP database
  41. //
  42. // I'll just leave this here:
  43. // This product includes GeoLite2 data created by MaxMind, available from
  44. // http://www.maxmind.com
  45. "geoip_db" => __DIR__ . "/GeoLite2-City.mmdb",
  46. "unsplash" => [
  47. "enable" => false,
  48. "appid" => "",
  49. "accesskey" => "",
  50. "secretkey" => "",
  51. "utmsource" => "SiteWriter"
  52. ],
  53. "email" => [
  54. "host" => "",
  55. "auth" => true,
  56. "secure" => "tls",
  57. "port" => 587,
  58. "user" => "",
  59. "password" => "",
  60. "fromaddress" => "",
  61. "fromname" => "SiteWriter"
  62. ],
  63. // List of required user permissions to access this app.
  64. "permissions" => [
  65. ],
  66. // List of permissions required for API access. Remove to use the value of
  67. // "permissions" instead.
  68. "api_permissions" => [
  69. ],
  70. // For supported values, see http://php.net/manual/en/timezones.php
  71. "timezone" => "America/Denver",
  72. // Language to use for localization. See langs folder to add a language.
  73. "language" => "en",
  74. // Shown in the footer of all the pages.
  75. "footer_text" => "",
  76. // Also shown in the footer, but with "Copyright <current_year>" in front.
  77. "copyright" => "Netsyms Technologies",
  78. // Base URL for building links relative to the location of the app.
  79. // Only used when there's no good context for the path.
  80. // The default is almost definitely fine.
  81. "url" => "."
  82. ];