[pmwiki-users] most user-friendly method of database configuration
Crisses
crisses at kinhost.org
Sat Oct 14 12:25:19 CDT 2006
On Oct 13, 2006, at 2:40 PM, Patrick R. Michaud wrote:
> $WikiLibDirs[] = new DataStore(array(
> 'type' => 'mysql',
> 'server' => 'db.example.com',
> 'name' => 'example_database_name',
> 'user' => 'example_user',
> 'passwd' => 'example_password'));
>
> which allows for a lot of extensibility in terms of future
> parameters to be passed, while also making it easy for someone to
> remember what everything stands for.
How is this much different from:
$DataStore['joomla'] = array(
'type' => 'mysql',
'server' => 'db.example.com',
'name' => 'example_database_name',
'user' => 'example_user',
'passwd' => 'example_password');
Adding the class function to the config.php adds another layer to
mess up...?
Crisses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061014/2e2575bb/attachment.html
More information about the pmwiki-users
mailing list