Don't use short open tags for PHP as they are not turned on by default in production environments.
This commit is contained in:
parent
e2516fa5cf
commit
2df54b911a
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
$kioskMode = false;
|
$kioskMode = false;
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -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';
|
||||||
|
@ -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');
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
|
|
||||||
class FileStorage {
|
class FileStorage {
|
||||||
|
|
||||||
|
@ -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, '/');
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
|
|
||||||
class YShout {
|
class YShout {
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user