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);
$kioskMode = false;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?
<?php
// 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,
// or leave it null to use the set nicknames.

View File

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