view 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 source

<?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");

?>