Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
added option and set default to false for defunct browscap
Browse files Browse the repository at this point in the history
  • Loading branch information
ddn committed Dec 28, 2012
1 parent f8d8222 commit b30ab27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion genetify/CONFIG.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$DB['password'] = '';
$DB['database'] = 'genetify';

$CONFIG['browsecap'] = false; // browscap is defunct, turn off by default if & until a replacement is installed
$CONFIG['browscap'] = false; // browscap is defunct, turn off by default if & until a replacement is installed

// change as desired for debugging
error_reporting(E_ALL);
Expand Down
2 changes: 1 addition & 1 deletion genetify/recorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function insert_new_visitor($ip_address)
// TODO: best delimiter?
$visitor['hash'] = md5(implode('', $visitor));

if ($CONFIG['browsecap']) {
if ($CONFIG['browscap']) {

//TODO: make optional
require_once('Browscap/Browscap.php');
Expand Down

0 comments on commit b30ab27

Please sign in to comment.