renamed list_table to list_users

This commit is contained in:
Václav Šmejkal 2024-05-20 20:07:28 +02:00
parent 7cf9d2b6a9
commit 3abff922e1
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 3 additions and 3 deletions

@ -9,7 +9,7 @@
<script>
$.ajax
({
url: "./res/forum/list_table.php",
url: "./res/forum/api/list_users.php",
success: function(result)
{
$("#left_panel").html(result);

@ -1,6 +1,6 @@
<?php
include("../global.php");
include("../../global.php");
session_start();
if (!isset($_SESSION["username"])) goto fail;
@ -11,7 +11,7 @@ if ($out -> num_rows != 1)
{
fail:
echo "nope";
header("Location: ../../index.php");
header("Location: ../../../index.php");
return;
}