golden hour
/home4/theinves/public_html/seshaasschool.com/dashboard/config
⬆️ Go Up
Upload
File/Folder
Size
Actions
config.php
622 B
Del
OK
schedule
-
Del
OK
session.php
284 B
Del
OK
Edit: config.php
<?php ini_set('error_reporting', E_ALL); date_default_timezone_set('Asia/Kolkata'); $dbhost = 'localhost'; $dbname = 'theinves_seshaas_live'; $dbuser = 'theinves_seshaas_live'; $dbpass = 'theinves_seshaas_live'; 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 = 'NO_ENGINE_SUBSTITUTION';"); $statement->execute(); } catch( PDOException $exception ) { echo "Connection error :" . $exception->getMessage(); header("location: db-connection-error.php"); }
Save