profile.conf.dist.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * This file holds the configuration constants and variables
  4. * for the user profile tool.
  5. *
  6. * @package chamilo.configuration
  7. */
  8. // Autentication, password
  9. define('CHECK_PASS_EASY_TO_FIND', false);
  10. $profileIsEditable = true;
  11. // User photos
  12. define('PREFIX_IMAGE_FILENAME_WITH_UID', true); // If true, filename of images on server begin with uid of the user.
  13. // Replacing user photos
  14. define('KEEP_THE_NAME_WHEN_CHANGE_IMAGE', true);
  15. // true -> the new image have the name of previous.
  16. // false -> a new name is build for each upladed image.
  17. define('KEEP_THE_OLD_IMAGE_AFTER_CHANGE', true);
  18. // true -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the previous image is rename before.
  19. // false -> only the last image still on server.
  20. // Official code
  21. // Don't forget to change name of offical code in your organization
  22. // See $langOfficialCode within the language file 'registration'
  23. define('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed
  24. /* if CONFVAL_CHECK_OFFICIAL_CODE is true, build here the
  25. function personal_check_official_code($code, $valueToReturnIfOk, $valueToReturnIfBad) {
  26. return $stateOfficialCode = true;
  27. }
  28. */
  29. // For stats
  30. define('NB_LINE_OF_EVENTS', 15);