clipbucket/upload/includes/dbconnect.php
Arslan Hassan 330be098df Fixed : ADs
Fixed : User Chanel Details
Fixed : Array to Xml Function 
Added : Comment Options
Update : Video Order by Id
2010-03-17 08:45:57 +00:00

32 lines
No EOL
758 B
PHP

<?php
/**
* @Software : ClipBucket
* @License : Attribution Assurance License -- http://www.opensource.org/licenses/attribution.php
* @version :ClipBucket v2
*/
$BDTYPE = 'mysql';
//Database Host
$DBHOST = 'localhost';
//Database Name
$DBNAME = 'clipbucket_svn';
//Database Username
$DBUSER = 'root';
//Database Password
$DBPASS = '';
//Setting Table Prefix
define("TABLE_PREFIX","cb_");
require 'adodb/adodb.inc.php';
$db = ADONewConnection($BDTYPE);
$db->debug = false;
$db->charpage = 'cp_utf8';
$db->charset = 'utf8';
if(!$db->Connect($DBHOST, $DBUSER, $DBPASS, $DBNAME))
{
exit($db->ErrorMsg());
}
$db->Connect($DBHOST, $DBUSER, $DBPASS, $DBNAME);
?>