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.

53 lines
1.7 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 = '';
  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'] = '';
  27. // Maximum size of an imported message, 0 is unlimited (but our database 'text' element is limited to 65535).
  28. $a->config['max_import_size'] = 65535;
  29. // Location of PHP command line processor
  30. $a->config['php_path'] = '$phpath';
  31. // Location of global directory submission page.
  32. $a->config['system']['directory_submit_url'] = 'http://dir.dfrn.org/submit';
  33. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  34. $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';