From 83f2ab0a9c1211862bb93f332726fa5e65f7ca82 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 30 Jul 2017 00:11:10 +0200 Subject: [PATCH] Document optional prefix for the names of all database tables --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 38337a2..94cbe29 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ Only in the very rare case that you need access to your cookies from JavaScript, If your web server is behind a proxy server and `$_SERVER['REMOTE_ADDR']` only contains the proxy's IP address, you must pass the user's real IP address to the constructor in the fourth argument. The default is `null`. +Should your database tables for this library need a common prefix, e.g. `my_users` instead of `users` (and likewise for the other tables), pass the prefix (e.g. `my_`) as the fifth parameter to the constructor. This is optional and the prefix is empty by default. + ### Registration (sign up) ```php