Zdravím Vás,
chcel by som rozbehať na stranke adresar kontaktov
ktory sa nachadza na webe
http://php-addressbook.sf.net/latest.htmlnahodil som si to na ftp,
potom som si na mysql importol tabuľku addressbook
a dalej sa neviem dostať, chcem sa tam dostať, neviem kde sa manažujú užívateľia
je to pravdepodobne v subore:
root/config/cfg.user.php
len neviem presnu syntax, neviem čo tam dať, vedlei by ste mi pomôcť? ďakujem
Kód:
//
// == List of Login/Pass-Users ==
//
// -- Setup an "admin" user, with password "secret" --
$userlist['admin']['pass'] = "secret";
$userlist['admin']['role'] = "root"; // used to call "/diag.php"
//*
// -- Setup readonly-user for regression tests (yourdomain.com/addressbook/test/
$userlist['simpletest']['pass'] = "simple";
$userlist['simpletest']['role'] = "admin";
$userlist['simpletest']['domain'] = 9999;
//*/
/*
// Setup a "readonly" user
$userlist['view']['pass'] = "apassword";
$userlist['view']['role'] = "readonly";
// Setup a user accessing only one group
$userlist['mygroup']['pass'] = "apassword";
$userlist['mygroup']['group'] = "My group";
// Setup a user for the second domain (0 = default)
$userlist['adm2']['pass'] = "adm2";
$userlist['adm2']['domain'] = 1;
//*/
//
// == User table in database ==
// - Excludes the table_prefix!
$usertable = "users";