<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		

		
		<item>
			<title>Comment by 'Marc' on Using @import in your _config.php for Live site Database Details</title>
			<link>http://www.ssbits.com/using-import-in-your-config-php-for-live-site-database-details/#PageComment_454</link>
			<description>Another idea: Why not using e.g. Director::isDev()?
Define the basic database credentials in array form and overwrite some values like username and password in case it is dev/test/live. Though static calls aren't the fastest, you could use defines instead.
if( Director::isDev() )
{
	$databaseConfig[ 'database' ] = 'myDevDB';
}</description>
			<pubDate>Mon, 02 Nov 2009 16:27:51 -0600</pubDate>
			<author>Marc</author>
			<guid>http://www.ssbits.com/using-import-in-your-config-php-for-live-site-database-details/#PageComment_454</guid>
		</item>
		
		<item>
			<title>Comment by 'Hamish' on Using @import in your _config.php for Live site Database Details</title>
			<link>http://www.ssbits.com/using-import-in-your-config-php-for-live-site-database-details/#PageComment_324</link>
			<description>A better method might be to use environment management:

http://doc.silverstripe.com/doku.php?id=environment-management</description>
			<pubDate>Mon, 18 May 2009 04:12:27 -0500</pubDate>
			<author>Hamish</author>
			<guid>http://www.ssbits.com/using-import-in-your-config-php-for-live-site-database-details/#PageComment_324</guid>
		</item>
		

	</channel>
</rss>
