ok
Direktori : /home2/selectio/public_html/lilyexpresslive/software/admin/inc/ |
Current File : /home2/selectio/public_html/lilyexpresslive/software/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/Kolkata'); // Host Name $dbhost = 'localhost'; // Database Name $dbname = 'selectio_lily_express_live'; // Database Username $dbuser = 'selectio_lily_express_live'; // Database Password $dbpass = 'selectio_lily_express_live'; // Defining base url define("BASE_URL", "lilyexpresslive.selectionsilks.com"); // 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); ini_set('memory_limit', '2048M'); } catch( PDOException $exception ) { echo "Connection error :" . $exception->getMessage(); }