Mercurial > hg > fapweb
comparison usrajax.js.php @ 1069:5f92fa5e683a
Refactor how the "AJAX" stuff works.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Jan 2017 17:25:48 +0200 |
parents | |
children | 7da8bde9b7be |
comparison
equal
deleted
inserted
replaced
1068:50d005dd22d8 | 1069:5f92fa5e683a |
---|---|
1 <?php | |
2 // | |
3 // FAPWeb - Simple Web-based Demoparty Management System | |
4 // User actions page AJAX javascript module | |
5 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) | |
6 // | |
7 $sessionType = "user"; | |
8 require_once "mconfig.inc.php"; | |
9 require_once "msite.inc.php"; | |
10 require_once "msession.inc.php"; | |
11 | |
12 | |
13 if (!stUserSessionAuth() || !stCSRFCheck()) | |
14 exit; | |
15 | |
16 stCommonAJAX("usrajax.php", "usrlogout.php"); | |
17 | |
18 ?> |