profile.conf.dist.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. ==============================================================================
  4. * This file holds the configuration constants and variables
  5. * for the user profile tool.
  6. *
  7. * @package dokeos.configuration
  8. ==============================================================================
  9. */
  10. // AUTHENTICATION //
  11. //// PASSWORD //////
  12. define ('CHECK_PASS_EASY_TO_FIND', false);
  13. $profileIsEditable = true;
  14. ///// PICTURE OF USERS /////
  15. define ('PREFIX_IMAGE_FILENAME_WITH_UID', true); // if true, filename of images on server begin with uid of the user.
  16. define ('RESIZE_IMAGE_TO_THIS_HEIGTH',180);
  17. define('IMAGE_THUMBNAIL_WIDTH', 100);
  18. // ABOUT IMAGE REPLACE
  19. define ('KEEP_THE_NAME_WHEN_CHANGE_IMAGE',TRUE);
  20. // true -> the new image have the name of previous.
  21. // false -> a new name is build for each upladed image.
  22. define ('KEEP_THE_OLD_IMAGE_AFTER_CHANGE',TRUE);
  23. // true -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the previous image is rename before.
  24. // false -> only the last image still on server.
  25. ///// OFFICIAL CODE // BEGIN
  26. // don't forget to change name of offical code in your institute
  27. // $langOfficialCode in lang File 'registration'
  28. define ('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed
  29. define ('CONFVAL_CHECK_OFFICIAL_CODE', false);
  30. /* if true, build here the function personal_check_official_code($code,$valueToReturnIfOk,$valueToReturnIfBad)
  31. {
  32. return $stateOfficialCode
  33. }
  34. */
  35. ///// OFFICIAL CODE // END
  36. // for stats //
  37. define ('NB_LINE_OF_EVENTS', 15);
  38. ?>