profile.conf.dist.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. $profileIsReadable = true;
  12. // User photos
  13. define('PREFIX_IMAGE_FILENAME_WITH_UID', true); // If true, filename of images on server begin with uid of the user.
  14. define('RESIZE_IMAGE_TO_THIS_HEIGTH', 180);
  15. define('IMAGE_THUMBNAIL_WIDTH', 100);
  16. // Replacing user photos
  17. define('KEEP_THE_NAME_WHEN_CHANGE_IMAGE', true);
  18. // true -> the new image have the name of previous.
  19. // false -> a new name is build for each upladed image.
  20. define('KEEP_THE_OLD_IMAGE_AFTER_CHANGE', true);
  21. // true -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the previous image is rename before.
  22. // false -> only the last image still on server.
  23. // Official code
  24. // Don't forget to change name of offical code in your organization
  25. // See $langOfficialCode within the language file 'registration'
  26. define('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed
  27. define('CONFVAL_CHECK_OFFICIAL_CODE', false);
  28. /* if CONFVAL_CHECK_OFFICIAL_CODE is true, build here the
  29. function personal_check_official_code($code, $valueToReturnIfOk, $valueToReturnIfBad) {
  30. return $stateOfficialCode = true;
  31. }
  32. */
  33. // For stats
  34. define('NB_LINE_OF_EVENTS', 15);