mirror of
				https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
				synced 2025-11-04 04:30:22 -05:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			248 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			248 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								require_once("config.php");
							 | 
						||
| 
								 | 
							
								require_once("telegram.php");
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								try {
							 | 
						||
| 
								 | 
							
									$auth_data = checkTelegramAuthorization($_GET);
							 | 
						||
| 
								 | 
							
									saveTelegramUserData($auth_data);
							 | 
						||
| 
								 | 
							
								  } catch (Exception $e) {
							 | 
						||
| 
								 | 
							
									die ($e->getMessage());
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  header('Location: index.php');
							 | 
						||
| 
								 | 
							
								  ?>
							 |