ok
Direktori : /proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/dashboard/admin/inc/ |
Current File : //proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/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_slm_govt_iti'; // Database Username $dbuser = 'selectio_slm_govt_iti'; // Database Password $dbpass = 'selectio_slm_govt_iti'; // Defining base url define("BASE_URL", "https://salemgovtitialumni.in/dashboard/admin"); // 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(); }