configuration.dist.yml.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /** This script is only use when using the console.php chamilo:install command */
  3. /**
  4. * MYSQL connection settings
  5. */
  6. // Your MySQL server
  7. $_configuration['db_host'] = 'localhost';
  8. // Your MySQL username
  9. $_configuration['db_user'] = 'root';
  10. // Your MySQL password
  11. $_configuration['db_password'] = 'root';
  12. /**
  13. * Database settings
  14. */
  15. // Prefix for course tables (IF NOT EMPTY, can be replaced by another prefix, else leave empty)
  16. $_configuration['table_prefix'] = '';
  17. // prefix all created bases (for courses) with this string
  18. $_configuration['db_prefix'] = '';
  19. // main Chamilo database
  20. $_configuration['main_database'] = 'chamilo';
  21. /**
  22. * Directory settings
  23. */
  24. // URL to the root of your Chamilo installation, e.g.: http://www.mychamilo.com/
  25. $_configuration['root_web'] = 'http://localhost/chamilo';
  26. $_configuration['root_sys'] = '/var/www/chamilo';
  27. /**
  28. * Misc. settings
  29. */
  30. // Security word for password recovery
  31. $_configuration['security_key'] = md5(uniqid(rand().time()));
  32. // Hash function method
  33. $_configuration['password_encryption'] = 'sha1';
  34. // You may have to restart your web server if you change this
  35. $_configuration['session_stored_in_db'] = false;
  36. // Session lifetime
  37. $_configuration['session_lifetime'] = 3600;
  38. // Activation for multi-url access
  39. //$_configuration['multiple_access_urls'] = true;
  40. //Deny the elimination of users
  41. $_configuration['deny_delete_users'] = false;
  42. //Prevent all admins from using the "login_as" feature
  43. $_configuration['login_as_forbidden_globally'] = false;
  44. // Version settings
  45. $_configuration['system_version'] = '1.10';