renamed list_table to list_users
This commit is contained in:
parent
7cf9d2b6a9
commit
3abff922e1
res/forum
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user