OtevřenáVíra

Je možné sdílet víru bez omezení?

Uživatelské nástroje

Nástroje pro tento web


wiki:dokuwiki

Toto je starší verze dokumentu!


Mark, I haven't done anything with this since I poetsd that entry, but I did say that I did it just through changing local.php, so here is what I have in local.php in case that is all you need to get it to work. Note that the MySQL database that is specified is the one that the WordPress installation uses. I have of course changed the actual details of MySQL server, database name, and login info, and this whole thing is bracket by the start and end of php brackets:$conf['umask'] = 0177; set the umask for new files$conf['dmask'] = 0022; directory mask accordingly$conf['title'] = „Sidney's DokuWiki“; what to show in the title$conf['useacl'] = 1; Use Access Control Lists to restrict access?$conf['openregister']= 0; Should users to be allowed to register?$conf['authtype'] = 'mysql'; which authentication DB should be used (currently plain only)$conf['auth']['mysql']['server'] = 'MYSQL.SERVER.NAME';$conf['auth']['mysql']['user'] = 'MYSQL_USER_NAME';$conf['auth']['mysql']['password'] = 'MYSQL_PASSWORD';$conf['auth']['mysql']['database'] = 'MYSQL_DATABASE_NAME;$conf['auth']['mysql']['passcheck'] = „Select user_login as login FROM wp_users WHERE user_login='%u' AND user_pass=MD5('%p')“;$conf['auth']['mysql']['userinfo'] = „Select user_nickname as name, user_email AS email FROM wp_users WHERE user_login='%u'“;$conf['auth']['mysql']['groups'] = „SELECT 'admin' as 'group' FROM wp_users WHERE user_level > 8 AND user_login='%u' UNION SELECT 'users' as 'group' FROM wp_users WHERE user_level < 9 AND user_login='%u'“;

wiki/dokuwiki.1352802361.txt.gz · Poslední úprava: 13.11.2012 11:26 autor: 161.7.81.50