diff showajax.js.php @ 1071:76e11ae923a7

Use long tags.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 17:44:50 +0200
parents 5f92fa5e683a
children b2bca5f6d0ff
line wrap: on
line diff
--- a/showajax.js.php	Tue Jan 24 17:37:50 2017 +0200
+++ b/showajax.js.php	Tue Jan 24 17:44:50 2017 +0200
@@ -1,15 +1,14 @@
 <?php
-header("Content-Type: application/javascript");
-require_once "mconfig.inc.php";
-require_once "msite.inc.php";
-require_once "msession.inc.php";
-?>
 //
 // FAPWeb - Simple Web-based Demoparty Management System
 // Party main screen viewer
 // (C) Copyright 2012-2017 Tecnic Software productions (TNSP)
 //
-<?php
+header("Content-Type: application/javascript");
+require_once "mconfig.inc.php";
+require_once "msite.inc.php";
+require_once "msession.inc.php";
+
 stCommonAJAX("showajax.php", "show.php");
 ?>
 
@@ -111,4 +110,3 @@
   setTickUpdate(100);
   viewChanged();
 });
-