[Astrospaces-commits] SF.net SVN: astrospaces: [25] trunk/config.php
Brought to you by:
p3net
From: <cal...@us...> - 2007-07-30 03:03:40
|
Revision: 25 http://astrospaces.svn.sourceforge.net/astrospaces/?rev=25&view=rev Author: caleb870 Date: 2007-07-29 20:03:43 -0700 (Sun, 29 Jul 2007) Log Message: ----------- Just a little clean-up and reformatting of the configuration file. I'll try to change the calls to the settings shortly hopefully. Added Paths: ----------- trunk/config.php Added: trunk/config.php =================================================================== --- trunk/config.php (rev 0) +++ trunk/config.php 2007-07-30 03:03:43 UTC (rev 25) @@ -0,0 +1,34 @@ +<?php +/* Old-style +$db_info = array( + 'user' => '', + 'pass' => '', + 'host' => '', + 'name' => '' + ); +*/ +global $_AS; +$_AS['ext'] = '.php'; +$_AS['lang'] = 'en-us'; + +$_AS['db_type'] = 'mysql'; // Needed for ADOdb. +$_AS['db_prefix'] = 'as_'; +$_AS['db_host'] = 'localhost'; +$_AS['db_user'] = 'username'; +$_AS['db_pass'] = 'password'; +$_AS['db_schema'] = 'schema'; + +$_AS['loc_url'] = 'http://localhost/'; +$_AS['loc_direct'] = 'C:/path/to/astrospaces/'; + +$_AS['tbl_user'] = $_AS['db_prefix'].'user'; +$_AS['tbl_blog'] = $_AS['db_prefix'].'blog'; +$_AS['tbl_blog_comment'] = $_AS['db_prefix'].'blog_comments'; +$_AS['tbl_friend'] = $_AS['db_prefix'].'friend'; +$_AS['tbl_img'] = $_AS['db_prefix'].'images'; +$_AS['tbl_img_comment'] = $_AS['db_prefix'].'image_comments'; +$_AS['tbl_actions'] = $_AS['db_prefix'].'actions'; +$_AS['tbl_comments'] = $_AS['db_prefix'].'comments'; +$_AS['tbl_sessions'] = $_AS['db_prefix'].'sessions'; +$_AS['tbl_pm'] = $_AS['db_prefix'].'pm'; +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |