|  |  | @ -101,8 +101,9 @@ function base64($url){ | 
			
		
	
		
		
			
				
					
					|  |  |  |     $host = $urls['host']; |  |  |  |     $host = $urls['host']; | 
			
		
	
		
		
			
				
					
					|  |  |  |     //获取端口 |  |  |  |     //获取端口 | 
			
		
	
		
		
			
				
					
					|  |  |  |     $port = empty( $urls['port'] ) ? '' : ':'.$urls['port']; |  |  |  |     $port = empty( $urls['port'] ) ? '' : ':'.$urls['port']; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     $dir = dirname($_SERVER['PHP_SELF']); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     $new_url = $scheme.$host.$port; |  |  |  |     $new_url = $scheme.$host.$port.$dir; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     return base64_encode($new_url); |  |  |  |     return base64_encode($new_url); | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |