Andras Toth - 2015-09-22 04:18:45 -
In reply to message 1 from Dragan Jankovic
Hi,
Edit config.php file:
class Users
{
private $users = array(
'user_name' => array(
'password' => 'user_password',
'path' => 'path to the allowed folder',
'SQL' => array(
'conn' => 'mysql:host=YOUR_HOST;dbname=YOUR_DBNAME;charset=utf8',
'user' => 'DB_USER',
'pass' => 'DB_USER_PASS'
)
)
// More users ->
);
Replace user_name => WDE user (not db user),
create php file or use (http://sandbox.onlinephpfunctions.com/), and
execute this command:
echo password_hash('user_password', PASSWORD_DEFAULT);
copy result to 'user_password' => WDE login pass for current user.
Replace all other parameters to yours parameters (YOUR_HOST,DB_USER,DB_USER_PASS).