diff --git a/example.php b/example.php index 86c9428..60dcffe 100644 --- a/example.php +++ b/example.php @@ -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); @@ -16,4 +16,4 @@ array($session, 'write'), array($session, 'destroy'), array($session, 'gc')); -session_start(); \ No newline at end of file +session_start();