You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					42 lines
				
				1.3 KiB
			
		
		
			
		
	
	
					42 lines
				
				1.3 KiB
			| 
								 
											19 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 *	This file holds the configuration constants and variables
							 | 
						||
| 
								 | 
							
								 *	for the user profile tool.
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 *	@package chamilo.configuration
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								// Autentication, password
							 | 
						||
| 
								 | 
							
								define('CHECK_PASS_EASY_TO_FIND', false);
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								$profileIsEditable = true;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								// User photos
							 | 
						||
| 
								 | 
							
								define('PREFIX_IMAGE_FILENAME_WITH_UID', true); // If true, filename of images on server begin with uid of the user.
							 | 
						||
| 
								 | 
							
								define('RESIZE_IMAGE_TO_THIS_HEIGTH', 180);
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
								define('IMAGE_THUMBNAIL_WIDTH', 100);
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								// Replacing user photos
							 | 
						||
| 
								 | 
							
								define('KEEP_THE_NAME_WHEN_CHANGE_IMAGE', true);
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
									// true  -> the new image have the name of previous.
							 | 
						||
| 
								 | 
							
									// false -> a new name is build for each upladed image.
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								define('KEEP_THE_OLD_IMAGE_AFTER_CHANGE', true);
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
									// true  -> if KEEP_THE_NAME_WHEN_CHANGE_IMAGE is true, the  previous image is rename before.
							 | 
						||
| 
								 | 
							
									// false -> only the last image still on server.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								// Official code
							 | 
						||
| 
								 | 
							
								// Don't forget to change name of offical code in your organization
							 | 
						||
| 
								 | 
							
								// See $langOfficialCode within the language file 'registration'
							 | 
						||
| 
								 | 
							
								define('CONFVAL_ASK_FOR_OFFICIAL_CODE', true); // not used but name fixed
							 | 
						||
| 
								 | 
							
								define('CONFVAL_CHECK_OFFICIAL_CODE', false);
							 | 
						||
| 
								 | 
							
								/* if CONFVAL_CHECK_OFFICIAL_CODE is true, build here the
							 | 
						||
| 
								 | 
							
								function personal_check_official_code($code, $valueToReturnIfOk, $valueToReturnIfBad) {
							 | 
						||
| 
								 | 
							
									return $stateOfficialCode = true;
							 | 
						||
| 
								 
											19 years ago
										 
									 | 
							
								}
							 | 
						||
| 
								 | 
							
								*/
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											16 years ago
										 
									 | 
							
								// For stats
							 | 
						||
| 
								 | 
							
								define('NB_LINE_OF_EVENTS', 15);
							 | 
						||
| 
								 | 
							
								
							 |