Move MobileDetect library to vendor
- Bumped the version to 2.8.25 (from 2.8.11)
This commit is contained in:
		
					parent
					
						
							
								799e60aa62
							
						
					
				
			
			
				commit
				
					
						806368f151
					
				
			
		
					 17 changed files with 890 additions and 397 deletions
				
			
		
							
								
								
									
										22
									
								
								vendor/mobiledetect/mobiledetectlib/namespaced/Detection/MobileDetect.php
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/mobiledetect/mobiledetectlib/namespaced/Detection/MobileDetect.php
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * Little piece of PHP to make Mobile_Detect auto-loadable in PSR-0 compatible PHP autoloaders like
 | 
			
		||||
 * the Symfony Universal ClassLoader by Fabien Potencier. Since PSR-0 handles an underscore in
 | 
			
		||||
 * classnames (on the filesystem) as a slash, "Mobile_Detect.php" autoloaders will try to convert
 | 
			
		||||
 * the classname and path to "Mobile\Detect.php". This script will ensure autoloading with:
 | 
			
		||||
 *  - Namespace:       Detection
 | 
			
		||||
 *  - Classname:       MobileDetect
 | 
			
		||||
 *  - Namespased:      \Detection\MobileDetect
 | 
			
		||||
 *  - Autoload path:   ./namespaced
 | 
			
		||||
 *  - Converted path:  ./namespaced/Detection/MobileDetect.php
 | 
			
		||||
 *
 | 
			
		||||
 * Don't forget to use MobileDetect (instead of Mobile_Detect) as class in code when autoloading.
 | 
			
		||||
 *
 | 
			
		||||
 * Thanks to @WietseWind.
 | 
			
		||||
 * For details please check: https://github.com/serbanghita/Mobile-Detect/pull/120
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
namespace Detection;
 | 
			
		||||
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Mobile_Detect.php';
 | 
			
		||||
 | 
			
		||||
class MobileDetect extends \Mobile_Detect {}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue