PluginProbe
GetResponse Forms by Optin Cat / 1.3.8
GetResponse Forms by Optin Cat v1.3.8
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / includes / classes / Mobile-Detect / namespaced / Detection / MobileDetect.php

MobileDetect.php in GetResponse Forms by Optin Cat 1.3.8, at includes/classes/Mobile-Detect/namespaced/Detection/MobileDetect.php

23 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Little piece of PHP to make Mobile_Detect auto-loadable in PSR-0 compatible PHP autoloaders like
4 * the Symfony Universal ClassLoader by Fabien Potencier. Since PSR-0 handles an underscore in
5 * classnames (on the filesystem) as a slash, "Mobile_Detect.php" autoloaders will try to convert
6 * the classname and path to "Mobile\Detect.php". This script will ensure autoloading with:
7 * - Namespace: Detection
8 * - Classname: MobileDetect
9 * - Namespased: \Detection\MobileDetect
10 * - Autoload path: ./namespaced
11 * - Converted path: ./namespaced/Detection/MobileDetect.php
12 *
13 * Don't forget to use MobileDetect (instead of Mobile_Detect) as class in code when autoloading.
14 *
15 * Thanks to @WietseWind.
16 * For details please check: https://github.com/serbanghita/Mobile-Detect/pull/120
17 */
18
19 namespace Detection;
20 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Mobile_Detect.php';
21
22 class MobileDetect extends \Mobile_Detect {}
23