<?php
// $_SESSION['LAST_ACTIVITY'] = time();
require_once __DIR__ . '/../includes/audit.php';

$servername = "localhost";
$username = "root";
$password = "";
// $username = "bdr14c5_wsm3";
// $password = "wsmEg1ZjozT?i1o";
try{
  $db = new PDO( 'mysql:host=localhost;dbname=cars;charset=utf8', $username, $password );
  audit_set_pdo_context($db);
}catch(PDOException $e){
     echo "خطأ في الإتصال بقاعدة البيانات: ". $e->getMessage();
   }
?>
