Skip to content

Commit

Permalink
FIX wrong function call in example
Browse files Browse the repository at this point in the history
  • Loading branch information
a2nt committed May 22, 2013
1 parent cd9d779 commit b9c6d29
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 b9c6d29

Please sign in to comment.