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

View File

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

View File

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