Skip to content

Commit

Permalink
Merge pull request #3 from a2nt/patch-1
Browse files Browse the repository at this point in the history
FIX wrong function call in example
  • Loading branch information
sprain committed May 24, 2013
2 parents cd9d779 + b9c6d29 commit f91ff4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$session = new SessionHandler();

// add db data
$session->setDbData('localhost', 'username', 'password', 'database');
$session->setDbDetails('localhost', 'username', 'password', 'database');

// OR alternatively send a MySQLi ressource
// $session->setDbConnection($mysqli);
Expand All @@ -16,4 +16,4 @@
array($session, 'write'),
array($session, 'destroy'),
array($session, 'gc'));
session_start();
session_start();

0 comments on commit f91ff4e

Please sign in to comment.