[Astrospaces-commits] SF.net SVN: astrospaces: [37] trunk/config.php
Brought to you by:
p3net
|
From: <cal...@us...> - 2007-07-30 04:53:43
|
Revision: 37
http://astrospaces.svn.sourceforge.net/astrospaces/?rev=37&view=rev
Author: caleb870
Date: 2007-07-29 21:53:45 -0700 (Sun, 29 Jul 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/config.php
Modified: trunk/config.php
===================================================================
--- trunk/config.php 2007-07-30 03:24:55 UTC (rev 36)
+++ trunk/config.php 2007-07-30 04:53:45 UTC (rev 37)
@@ -7,28 +7,30 @@
'name' => ''
);
*/
-global $_AS;
-$_AS['ext'] = '.php';
-$_AS['lang'] = 'en-us';
+define('AS_EXT', '.php');
+define('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';
+define('AS_DB_TYPE', 'mysql');
+define('AS_DB_PREFIX', 'as_');
+define('AS_DB_HOST', 'localhost');
+define('AS_DB_SCHEMA', 'schema');
+define('AS_DB_USER', 'user');
+define('AS_DB_PASS', 'pass');
-$_AS['loc_url'] = 'http://localhost/';
-$_AS['loc_direct'] = 'C:/path/to/astrospaces/';
+define('AS_LOC_URL', AS_DB_PREFIX.'http://localhost/');
+define('AS_LOC_DIRECT', AS_DB_PREFIX.'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';
+define('AS_TBL_USER', AS_DB_PREFIX.'user');
+define('AS_TBL_BLOG', AS_DB_PREFIX.'blog');
+define('AS_TBL_BLOG_CMT', AS_DB_PREFIX.'blog_comments');
+define('AS_TBL_FRIEND', AS_DB_PREFIX.'friend');
+define('AS_TBL_IMG', AS_DB_PREFIX.'images');
+define('AS_TBL_IMG_CMT', AS_DB_PREFIX.'image_comments');
+define('AS_TBL_ACTION', AS_DB_PREFIX.'actions');
+define('AS_TBL_CMT', AS_DB_PREFIX.'comments');
+define('AS_TBL_SESSION', AS_DB_PREFIX.'sessions');
+define('AS_TBL_PM', AS_DB_PREFIX.'pm');
+
+define('AS_DIR_TPL', 'template/');
+define('AS_TPL', AS_LOC_URL.AS_DIR_TPL);
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|