DokuWiki Admidio

Alles, was nicht in die anderen Foren passt, kannst du hier loswerden.
webtist_hanschur
Beiträge: 7
Registriert: 9. Okt 2020, 19:31

Re: DokuWiki Admidio

Beitrag von webtist_hanschur »

und so ist die Konfig in Dokuki

$conf['plugin']['authpdo']['debug'] = 0;
$conf['plugin']['authpdo']['dsn'] = 'mysql:host=localhost;dbname=REALDBNAME;charset=utf8';
$conf['plugin']['authpdo']['user'] = 'username';
$conf['plugin']['authpdo']['pass'] = 'password';
$conf['plugin']['authpdo']['select-user'] = 'SELECT `uid`, `login` AS "user",
concat(`lastname`," ",`firstname`) AS "name",
`password` AS "hash", `email` AS mail FROM `users`
WHERE `login` = :user';
$conf['plugin']['authpdo']['select-user-groups'] = 'SELECT name as `group`
FROM groups AS g, users AS u, usergroup AS ug
WHERE u.uid = ug.uid
AND g.gid = ug.gid
AND u.login= :user
GROUP BY name';
Antworten