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.

71 lines
2.3 KiB

  1. <?php
  2. // Set the following for your MySQL installation
  3. // Copy or rename this file to .htconfig.php
  4. $db_host = '$dbhost';
  5. $db_user = '$dbuser';
  6. $db_pass = '$dbpass';
  7. $db_data = '$dbdata';
  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 $a->path to 'directory/subdirectory'.
  12. $a->path = '$urlpath';
  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 = '$timezone';
  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'] = '$adminmail';
  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'] = '$phpath';
  33. // Location of global directory submission page.
  34. $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
  35. $a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
  36. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  37. $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
  38. // Server-to-server private message encryption (RINO) is allowed by default.
  39. // Encryption will only be provided if this setting is true and the
  40. // PHP mcrypt extension is installed on both systems
  41. $a->config['system']['rino_encrypt'] = true;
  42. // default system theme
  43. $a->config['system']['theme'] = 'duepuntozero';
  44. // By default allow pseudonyms
  45. $a->config['system']['no_regfullname'] = true;