Commit 6b179e43 authored by rama chandra's avatar rama chandra

Delete logout.php

parent 6372b6bb
Pipeline #20571 failed with stages
in 18 seconds
<?php
include "init.php";
$obj = new base_class;
$status = 0;
$user_id = $_SESSION['user_id'];
if($obj->Normal_Query("UPDATE users SET status = ? WHERE id =?",[$status,$user_id])){
session_destroy();
header("location:login.php");
}
?>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment