diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usrajax.js.php	Tue Jan 24 17:25:48 2017 +0200
@@ -0,0 +1,18 @@
+<?php
+//
+// FAPWeb - Simple Web-based Demoparty Management System
+// User actions page AJAX javascript module
+// (C) Copyright 2012-2015 Tecnic Software productions (TNSP)
+//
+$sessionType = "user";
+require_once "mconfig.inc.php";
+require_once "msite.inc.php";
+require_once "msession.inc.php";
+
+
+if (!stUserSessionAuth() || !stCSRFCheck())
+  exit;
+
+stCommonAJAX("usrajax.php", "usrlogout.php");
+
+?>
\ No newline at end of file