ok
Direktori : /home2/selectio/public_html/pvmatricschool.com/dashboard/admin/inc/ |
Current File : /home2/selectio/public_html/pvmatricschool.com/dashboard/admin/inc/config.php |
<?php // Error Reporting Turn On ini_set('error_reporting', E_ALL); // Setting up the time zone date_default_timezone_set('Asia/Dhaka'); // Host Name $dbhost = 'localhost'; // Database Name $dbname = 'selectio_pvmatricschool_backend'; // Database Username $dbuser = 'selectio_pvmatricschool_backend'; // Database Password $dbpass = 'pvmatricschool_backend'; // Defining base url define("BASE_URL", "https://pvmatricschool.com/dashboard/"); // Getting Admin url define("ADMIN_URL", BASE_URL . "admin" . "/"); try { $pdo = new PDO("mysql:host={$dbhost};dbname={$dbname}", $dbuser, $dbpass); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch( PDOException $exception ) { echo "Connection error :" . $exception->getMessage(); }