mirror of
				https://github.com/pierre42100/comunic
				synced 2025-11-04 04:04:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			405 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			405 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * This file is used to check whether the website
 | 
						|
 * was shutdown for upgrade or not
 | 
						|
 * 
 | 
						|
 * @author Pierre HUBERT
 | 
						|
 */
 | 
						|
 | 
						|
isset($_SESSION) OR exit("Invalid call - ".$_SERVER['PHP_SELF']);
 | 
						|
 | 
						|
//On vérifie si le site est bloqué pour une mise à jour ou non
 | 
						|
if($bloque_site_for_update == 1)
 | 
						|
{
 | 
						|
	echo  add_url_site(file_get_contents(websiteRelativePath().'inc/message_update.html'), $urlsite);
 | 
						|
	die();
 | 
						|
} |