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