dokeos-configuration
[ class tree: dokeos-configuration ] [ index: dokeos-configuration ] [ all elements ]

Source for file profile.conf.dist.php

Documentation is available at profile.conf.dist.php

  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.  
  11. // AUTHENTICATION //
  12. //// PASSWORD //////
  13.  
  14. define ('CHECK_PASS_EASY_TO_FIND'false);
  15.  
  16. $profileIsEditable true;
  17.  
  18. ///// PICTURE OF USERS /////
  19. define ('PREFIX_IMAGE_FILENAME_WITH_UID'true)// if true, filename of images on server begin with uid of the user.
  20. define ('RESIZE_IMAGE_TO_THIS_HEIGTH',180);
  21. define('IMAGE_THUMBNAIL_WIDTH'100);
  22.  
  23. //  ABOUT IMAGE REPLACE
  24. define ('KEEP_THE_NAME_WHEN_CHANGE_IMAGE',TRUE);
  25.     // true  -> the new image have the name of previous.
  26.     // false -> a new name is build for each upladed image.
  27. define ('KEEP_THE_OLD_IMAGE_AFTER_CHANGE',TRUE);
  28.     // true  -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the  previous image is rename before.
  29.     // false -> only the last image still on server.
  30.  
  31.  
  32. ///// OFFICIAL CODE // BEGIN
  33. // don't forget to change name of offical code in your institute
  34. // $langOfficialCode in lang File  'registration'
  35. define ('CONFVAL_ASK_FOR_OFFICIAL_CODE'true)// not used but name fixed
  36. define ('CONFVAL_CHECK_OFFICIAL_CODE'false);
  37. /* if true, build here the function personal_check_official_code($code,$valueToReturnIfOk,$valueToReturnIfBad)
  38. {
  39.  
  40.     return $stateOfficialCode
  41. }
  42. */
  43. ///// OFFICIAL CODE // END
  44.  
  45. // for stats //
  46. define ('NB_LINE_OF_EVENTS'15);
  47. ?>

Documentation generated on Thu, 12 Jun 2008 09:26:32 -0500 by phpDocumentor 1.4.1