Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
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.

82 lines
2.6 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. <?php
  2. // If automatic system installation fails:
  3. // Copy or rename this file to .htconfig.php
  4. // Why .htconfig.php? Because it contains sensitive information which could
  5. // give somebody complete control of your database. Apache's default
  6. // configuration denies access to and refuses to serve any file beginning
  7. // with .ht
  8. // Then set the following for your MySQL installation
  9. $db_host = 'your.mysqlhost.com';
  10. $db_user = 'mysqlusername';
  11. $db_pass = 'mysqlpassword';
  12. $db_data = 'mysqldatabasename';
  13. // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
  14. // It can be changed later and only applies to timestamps for anonymous viewers.
  15. $default_timezone = 'America/Los_Angeles';
  16. // What is your site name?
  17. $a->config['sitename'] = "Friendika Social Network";
  18. // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
  19. // Be certain to create your own personal account before setting
  20. // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
  21. // the registration page. REGISTER_APPROVE requires you set 'admin_email'
  22. // to the email address of an already registered person who can authorise
  23. // and/or approve/deny the request.
  24. $a->config['register_policy'] = REGISTER_OPEN;
  25. $a->config['register_text'] = '';
  26. $a->config['admin_email'] = '';
  27. // Maximum size of an imported message, 0 is unlimited
  28. $a->config['max_import_size'] = 200000;
  29. // maximum size of uploaded photos
  30. $a->config['system']['maximagesize'] = 800000;
  31. // Location of PHP command line processor
  32. $a->config['php_path'] = 'php';
  33. // You shouldn't need to change anything else.
  34. // Location of global directory submission page.
  35. $a->config['system']['directory_submit_url'] = 'http://dir.friendika.com/submit';
  36. $a->config['system']['directory_search_url'] = 'http://dir.friendika.com/directory?search=';
  37. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  38. $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
  39. // Server-to-server private message encryption (RINO) is allowed by default.
  40. // Encryption will only be provided if this setting is true and the
  41. // PHP mcrypt extension is installed on both systems
  42. $a->config['system']['rino_encrypt'] = true;
  43. // default system theme
  44. $a->config['system']['theme'] = 'duepuntozero';
  45. // Addons or plugins are configured here.
  46. // This is a comma seperated list of addons to enable. Example:
  47. // $a->config['system']['addon'] = 'js_upload,randplace,oembed';
  48. $a->config['system']['addon'] = 'js_upload';
  49. // Disable oembed embedding
  50. // This disable the conversion of [embed]$url[/embed] tag in html
  51. // $a->config['system']['no_oembed'] = true;