date_default_timezone_set('Asia/Bangkok'); //ini_set('session.cookie_domain', '.buydshop.com'); ob_start(); session_start(); //if (preg_match("/config.php/i", $_SERVER['PHP_SELF'])) { Header("Location: ../index.php"); die(); } date_default_timezone_set("Asia/Bangkok"); $globals_test = @ini_get("register_globals"); if ( isset($globals_test) && empty($globals_test) ) { $types_to_register = array('GET', 'POST', 'COOKIE', 'SESSION', 'SERVER'); foreach ($types_to_register as $type) { $arr = @${'_' . $type}; if (@count($arr) > 0) extract($arr, EXTR_SKIP); } } // DB // $db_type = "mysql"; // Type of database system $db_host = "10.33.0.11"; // Location of the database $db_name = "admin_road"; $db_user = "admin_road"; // $db_pass = "road8iy["; //old $db_pass = "p68jK24#i"; // define('DBHost', '10.33.0.11'); // define('DBPort', '3306'); // define('DBName', 'admin_road'); // define('DBUser', 'admin_road'); // define('DBPassword', 'p68jK24#i'); $pathdir = $_SERVER["DOCUMENT_ROOT"]."/"; $license= "CyoiydgTv,kdd;j.8i"; // Streaming Code $st_code = "buyd"; $st_code_m = "buyd"; $url = $_SERVER['HTTP_HOST']; // $lid = 'Ua46ba045a0cb7f7353befccc30a8864d'; $lid_m = 'Ud89948b8fa8b24f0fd1607410dba5b2f'; $lid_b = 'Ua46ba045a0cb7f7353befccc30a8864d'; $public_key = "ce387fedb0bd00e07ab65f893638f59c"; // $themes_path = "themes/road/"; // $ver = date("Ymdhis"); $link = mysql_connect($db_host, $db_user, $db_pass) or mysql_error(); mysql_select_db($db_name); mysql_query("SET NAMES UTF8"); // $DB = new Db(DBHost, DBPort, DBName, DBUser, DBPassword); // mysql_close(); // $DB->closeConnection(); ?>