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.

100 lines
3.3 KiB

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'] = "Friendica 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. // In order to perform system administration via the admin panel, admin_email
  25. // must precisely match the email address of the person logged in.
  26. $a->config['register_policy'] = REGISTER_OPEN;
  27. $a->config['register_text'] = '';
  28. $a->config['admin_email'] = '';
  29. // Maximum size of an imported message, 0 is unlimited
  30. $a->config['max_import_size'] = 200000;
  31. // maximum size of uploaded photos
  32. $a->config['system']['maximagesize'] = 800000;
  33. // Location of PHP command line processor
  34. $a->config['php_path'] = 'php';
  35. // You shouldn't need to change anything else.
  36. // Location of global directory submission page.
  37. $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
  38. $a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
  39. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  40. $a->config['system']['huburl'] = '[internal]';
  41. // Server-to-server private message encryption (RINO) is allowed by default.
  42. // Encryption will only be provided if this setting is true and the
  43. // PHP mcrypt extension is installed on both systems
  44. $a->config['system']['rino_encrypt'] = true;
  45. // allowed themes (change this from admin panel after installation)
  46. $a->config['system']['allowed_themes'] = 'dispy,quattro,vier,darkzero,duepuntozero,greenzero,purplezero,slackr,diabook';
  47. // default system theme
  48. $a->config['system']['theme'] = 'duepuntozero';
  49. // By default allow pseudonyms
  50. $a->config['system']['no_regfullname'] = true;
  51. // If set to true the priority settings of ostatus contacts are used
  52. $a->config['system']['ostatus_use_priority'] = false;
  53. // If enabled, all items are cached in the given directory
  54. $a->config['system']['itemcache'] = "";
  55. // If enabled, the lockpath is used for a lockfile to check if the poller is running
  56. $a->config['system']['lockpath'] = "";
  57. // If enabled, the MyBB fulltext engine is used
  58. // $a->config['system']['use_fulltext_engine'] = true;
  59. // Use the old style "share"
  60. // $a->config['system']['old_share'] = false;
  61. //Deny public access to the local directory
  62. //$a->config['system']['block_local_dir'] = false;