profile.conf.dist.php 1.3 KB

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