A better config.php

Dragonfly integration forum

A better config.php

Postby Bedevere » Sat Sep 02, 2006 3:02 pm

Uses all the Dragonfly variables and the foldername, and the user never has to set it.

[code]
<?php
/******************************
* AUTO-GENERATED CONF FILE
* DO NOT EDIT !!!
******************************/
$eqdkp_prefix = $prefix.'_eqdkp_';
$eqdkp_db = $dbname;
$eqdkp_password = $dbpass;
$eqdkp_user = $dbuname;
$eqdkp_host = $dbhost;

$roster_host = $dbhost;
$roster_user = $dbuname;
$roster_password = $dbpass;
$roster_db = $dbname;
$db_host = $dbhost;
$db_name = $dbname;
$db_user = $dbuname;
$db_passwd = $dbpass;
$db_prefix = $prefix.'_'.strtolower($module_name).'_';

define('ROSTER_INSTALLED', true);

?>
[code]
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

A better config.php

Postby Anaxent » Sat Sep 02, 2006 10:45 pm

well most of that conf.php file really isnt needed I left it in there as I was working with eqdkp addons and itemstats so I wanted to use a flat file befoe migrating it all into the admin config.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

A better config.php

Postby Bedevere » Sun Sep 03, 2006 6:11 pm

AH ok I thought you might still be using it.
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

A better config.php

Postby zanix » Mon Sep 04, 2006 12:19 am

Roster's sql layer should be hooked into using DF's sql layer so there should be no need for the roster db info there
(except for $dbprefix since that picks up the CMS's prefix and the current prefix fo rosters)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

A better config.php

Postby Anaxent » Mon Sep 04, 2006 9:16 am

i had added the eqdkp stuff as I was testing the dkp sync and addon and was thinking of converting it into the database but im going to hold off on that for now.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az


Return to Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron