Don't use short open tags for PHP as they are not turned on by default in production environments.

This commit is contained in:
jgen 2014-04-20 05:00:34 -04:00
parent e2516fa5cf
commit 2df54b911a
9 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<? <?php
error_reporting(E_ALL); error_reporting(E_ALL);
$kioskMode = false; $kioskMode = false;

View File

@ -1,4 +1,4 @@
<? <?php
include 'ajax.php'; include 'ajax.php';
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
@ -33,7 +33,7 @@
<span id="login-loading">Loading...</span> <span id="login-loading">Loading...</span>
</form> </form>
</div> </div>
<? <?php
if (loggedIn()) echo cp(); if (loggedIn()) echo cp();
?> ?>
</div> </div>

View File

@ -1,4 +1,4 @@
<? <?php
$null = null; $null = null;
include 'php/filestorage.class.php'; include 'php/filestorage.class.php';
include 'preferences.php'; include 'preferences.php';

View File

@ -1,4 +1,4 @@
<? <?php
class AjaxCall { class AjaxCall {
function AjaxCall($log = null) { function AjaxCall($log = null) {
header('Content-type: application/json'); header('Content-type: application/json');

View File

@ -1,4 +1,4 @@
<? <?php
class FileStorage { class FileStorage {

View File

@ -1,4 +1,4 @@
<? <?php
function cookie($name, $data) { function cookie($name, $data) {
return setcookie($name, $data, time() + 60 * 60 * 24 * 30, '/'); return setcookie($name, $data, time() + 60 * 60 * 24 * 30, '/');

View File

@ -1,4 +1,4 @@
<? <?php
class YShout { class YShout {

View File

@ -1,4 +1,4 @@
<? <?php
// If you want to change the nickname, the line below is the one to modify. // If you want to change the nickname, the line below is the one to modify.
// Simply set $overrideNickname to whatever variable you want to appear as the nickname, // Simply set $overrideNickname to whatever variable you want to appear as the nickname,
// or leave it null to use the set nicknames. // or leave it null to use the set nicknames.

View File

@ -1,4 +1,4 @@
<? <?php
error_reporting(E_ALL); error_reporting(E_ALL);
ob_start(); ob_start();
set_error_handler('errorOccurred'); set_error_handler('errorOccurred');