Updated install process to use separate file with version information in order to re-use that information in automated packaging systems. Also fixed condition on is_already_installed_portal() which was checking the contrary - refs #4796
	
		
	
				
					
				
			
							parent
							
								
									81571a14af
								
							
						
					
					
						commit
						e8c7284b5c
					
				@ -0,0 +1,20 @@ | 
				
			|||||||
 | 
					<?php | 
				
			||||||
 | 
					/* For licensing terms, see /license.txt */ | 
				
			||||||
 | 
					/** | 
				
			||||||
 | 
					 * This script lists the necessary variables that allow the installation | 
				
			||||||
 | 
					 * system to know in which version is the current Chamilo install. This  | 
				
			||||||
 | 
					 * script should be overwritten with each upgrade of Chamilo. It is not | 
				
			||||||
 | 
					 * required from any other process of Chamilo than the installation or upgrade. | 
				
			||||||
 | 
					 * It also helps for automatic packaging of unstable versions | 
				
			||||||
 | 
					 * @package chamilo.install | 
				
			||||||
 | 
					 */ | 
				
			||||||
 | 
					/** | 
				
			||||||
 | 
					 * Variables used from the main/install/index.php | 
				
			||||||
 | 
					 */ | 
				
			||||||
 | 
					$new_version 		= '1.9.0'; | 
				
			||||||
 | 
					$new_version_status	= 'alpha'; | 
				
			||||||
 | 
					$new_version_last_id	= 7; | 
				
			||||||
 | 
					$new_version_stable 	= false; | 
				
			||||||
 | 
					$new_version_major 	= true; | 
				
			||||||
 | 
					$software_name 		= 'Chamilo'; | 
				
			||||||
 | 
					$software_url 		= 'http://www.chamilo.org/'; | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue