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.

htconfig.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
  36. $a->config['system']['huburl'] = '[internal]';
  37. // allowed themes (change this from admin panel after installation)
  38. $a->config['system']['allowed_themes'] = 'dispy,quattro,vier,darkzero,duepuntozero,greenzero,purplezero,slackr,diabook';
  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';