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.

78 lines
2.4 KiB

  1. <?php
  2. // Set the following for your MySQL installation
  3. // Copy or rename this file to .htconfig.php
  4. $db_host = 'localhost';
  5. $db_user = 'root';
  6. $db_pass = 'root';
  7. $db_data = 'friendica';
  8. // If you are using a subdirectory of your domain you will need to put the
  9. // relative path (from the root of your domain) here.
  10. // For instance if your URL is 'http://example.com/directory/subdirectory',
  11. // set path to 'directory/subdirectory'.
  12. $a->path = '';
  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 = 'Europe/Berlin';
  16. // What is your site name?
  17. $a->config['sitename'] = "My Friend 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'] = 'vagrant@friendica.dev';
  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'] = '/usr/bin/php';
  33. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  34. $a->config['system']['huburl'] = '[internal]';
  35. // Server-to-server private message encryption (RINO) is allowed by default.
  36. // Encryption will only be provided if this setting is true and the
  37. // PHP mcrypt extension is installed on both systems
  38. $a->config['system']['rino_encrypt'] = true;
  39. // default system theme
  40. $a->config['system']['theme'] = 'duepuntozero';
  41. // By default allow pseudonyms
  42. $a->config['system']['no_regfullname'] = true;
  43. //Deny public access to the local directory
  44. //$a->config['system']['block_local_dir'] = false;
  45. // Location of the global directory
  46. $a->config['system']['directory'] = 'http://dir.friendi.ca';
  47. // turn on friendica's log
  48. $a->config['system']['debugging'] = true;
  49. $a->config['system']['logfile'] = 'logfile.out';
  50. $a->config['system']['loglevel'] = LOGGER_DEBUG;