configuration.dist.yml.php 1.7 KB

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