We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb85af8 commit 7599d8cCopy full SHA for 7599d8c
1 file changed
test.php
@@ -0,0 +1,19 @@
1
+<?php
2
+require_once "root.php";
3
+require_once "resources/require.php";
4
+require_once "resources/check_auth.php";
5
+require_once "resources/header.php";
6
+require_once "resources/paging.php";
7
+
8
+if (!$_SESSION['user']['extension']) {
9
+ echo "no extensions assigned to user";
10
+ include_once "footer.php";
11
+ die();
12
+}
13
14
+if (sizeof($_SESSION['user']['extension']) == 1) {
15
+ echo "<script type='text/javascript'>window.location.href = 'threadlist.php?extension_uuid=" . $_SESSION['user']['extension'][0]['extension_uuid'] . "'; </script>";
16
+} else {
17
+ echo "<script type='text/javascript'>window.location.href = 'index.php'; </script>";
18
19
0 commit comments