From a771ad3a6d06253269a7ddf2da2fe9eab71dd895 Mon Sep 17 00:00:00 2001 From: matthiasgrimm Date: Sun, 22 Jan 2006 13:53:27 +0100 Subject: MySQL backend code cleanup fix This patch make the MySQL backend work again after Andi's code cleanup ;-) darcs-hash:20060122125327-7ef76-5b7a46fa8bc49fc68a11a44fabddc9753e9a1dfb.gz --- conf/local.php.dist | 10 +++ conf/mysql.conf.php.example | 144 +++++++++++++++++++++++--------------------- 2 files changed, 86 insertions(+), 68 deletions(-) (limited to 'conf') diff --git a/conf/local.php.dist b/conf/local.php.dist index bcbb19e63..53d7cc720 100644 --- a/conf/local.php.dist +++ b/conf/local.php.dist @@ -10,3 +10,13 @@ $conf['title'] = 'My Wiki'; //what to show in the title $conf['useacl'] = 1; //Use Access Control Lists to restrict access? $conf['superuser'] = 'joe'; + +/* The following options are usefull, if you use a MySQL + * database as autentication backend. Have a look into + * mysql.conf.php too and adjust the options to match + * your database installation. + */ +$conf['authtype'] = 'mysql'; +require_once ("mysql.conf.php"); + + diff --git a/conf/mysql.conf.php.example b/conf/mysql.conf.php.example index ffe35c466..fe0664903 100644 --- a/conf/mysql.conf.php.example +++ b/conf/mysql.conf.php.example @@ -1,24 +1,32 @@ + WHERE uid='%{uid}'"; + -- cgit v1.2.3