ok

Mini Shell

Direktori : /home2/selectio/public_html/wedding-info-new/api/config/
Upload File :
Current File : /home2/selectio/public_html/wedding-info-new/api/config/config.php

<?php
ob_start();
session_start();
ini_set('error_reporting', E_ALL);
date_default_timezone_set('Asia/Kolkata');

$app_name="Wedding Info";
$access_key="rzp_test_h6Kg4arfI0sHZL";
$site_url="https://firstmatrix.in.net/wedding-info/admin";


$dbhost = 'localhost';
$dbname = 'selectio_wedding_info_new';
$dbuser = 'selectio_wedding_info_new';
$dbpass = 'selectio_wedding_info_new';


try {
	$pdo = new PDO("mysql:host={$dbhost};dbname={$dbname}", $dbuser, $dbpass);
	$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
	$statement = $pdo->prepare("SET SESSION sql_mode = ''");
	if (mysqli_connect_errno())
	{
		  echo "Failed to connect to MySQL: " . mysqli_connect_error();
	}
}
catch( PDOException $exception ) {
	echo "Connection error :" . $exception->getMessage();
}




Zerion Mini Shell 1.0