mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-04 19:31:45 +08:00 
			
		
		
		
	update: vless
This commit is contained in:
		@@ -120,4 +120,10 @@ class Helper
 | 
			
		||||
        $portRange = explode('-', $range);
 | 
			
		||||
        return rand($portRange[0], $portRange[1]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static function base64EncodeUrlSafe($data)
 | 
			
		||||
    {
 | 
			
		||||
        $encoded = base64_encode($data);
 | 
			
		||||
        return str_replace(['+', '/', '='], ['-', '_', ''], $encoded);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user