mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	button: support extend parameter name
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@120 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
		
							parent
							
								
									cf1068db58
								
							
						
					
					
						commit
						8f97ddfa03
					
				| @ -16,7 +16,7 @@ require_once('libs/common.php'); | ||||
| require_once('libs/operator.php'); | ||||
| 
 | ||||
| $image = verifyparam("image","/^\w+$/", "webim"); | ||||
| $lang = verifyparam("lang", "/^[\w-]{2,5}$/", ""); | ||||
| $lang = verifyparam(isset($_GET['language']) ? "language" : "lang", "/^[\w-]{2,5}$/", ""); | ||||
| if(!$lang || !in_array($lang,$available_locales)) { | ||||
| 	$lang = $current_locale; | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user