BrowsCap project dead; how to remove from the code (or replace with local option?)
jamesabruce opened this issue · 3 comments
The Browscap project is currently no longer functional, and programs using it will need to bypass the update checks to continue working as expected; there is a replacement PHP local Browscap project (http://alexandre.alapetite.fr/doc-alex/php-local-browscap/index.en.html), but I couldn't get it working within Genetify. Anyway, to strip out Browscap, comment out everything in recorder.php, after this line:
$visitor = array('ip_address' => $ip_address);
to the following
//TODO: convert database column names
// $visitor = _camel_to_underscore($visitor);
If anyone knows how modify genetify to work with the php_local_browscap instead, please let me know.
I will take a look.
I think the best fix is to remove Browscap completely, or to turn it off by default with the comment that it is a defunct library and a replacement is needed. The reason I required it originally was to provide debugging diagnostics by browser.
Feel free to issue a pull request. https://help.github.com/articles/using-pull-requests .