Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // I figured it out. Pretty easy. Grab a copy of master and make a few mods.
- // At the top of DeviceDetector.php and in this order:
- require_once (dirname(__FILE__).'/spyc.php');
- require_once (dirname(__FILE__).'/Cache/Cache.php');
- require_once (dirname(__FILE__).'/Cache/StaticCache.php');
- require_once (dirname(__FILE__).'/Parser/ParserAbstract.php');
- require_once (dirname(__FILE__).'/Parser/Bot.php');
- require_once (dirname(__FILE__).'/Parser/OperatingSystem.php');
- require_once (dirname(__FILE__).'/Parser/VendorFragment.php');
- require_once (dirname(__FILE__).'/Parser/Client/ClientParserAbstract.php');
- require_once (dirname(__FILE__).'/Parser/Device/DeviceParserAbstract.php');
- // Add as the first line of addClientParser():
- require_once (dirname(__FILE__).'/Parser/Client/'.$parser.'.php');
- // Add as the first line of addDeviceParser():
- require_once (dirname(__FILE__).'/Parser/Device/'.$parser.'.php');
- // You'll also have to grab a copy of spyc.php - google it - easy to find.
- // That's it. Works awesome. Faster than anything else.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement