Skip to content

Commit e13d175

Browse files
pagePage-
authored andcommitted
Switch to using <?php not just <? to match PHP5.3 defaults.
1 parent e2d68bd commit e13d175

File tree

258 files changed

+259
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+259
-259
lines changed

engine/1.2/album_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
create_error('Please use main album edit.');
44

engine/1.2/alliance_create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
print_topic('CREATE ALLIANCE');
44

engine/1.2/alliance_create_processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
// disallow certain ascii chars
44
for ($i = 0; $i < strlen($_POST["name"]); $i++)

engine/1.2/alliance_detail_old.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22
require_once(get_file_loc("smr_history_db.inc"));
33
//offer a back button
44
$container = array();

engine/1.2/alliance_exempt_authorize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
$db->query('SELECT leader_id FROM alliance WHERE game_id=' . SmrSession::$game_id . ' AND alliance_id=' . $player->alliance_id . ' LIMIT 1');
44
$db->next_record();

engine/1.2/alliance_forces.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22
if (isset($var['alliance_id'])) $alliance_id = $var['alliance_id'];
33
else $alliance_id = $player->alliance_id;
44
define('MINES',0);

engine/1.2/alliance_join_processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
require_once(get_file_loc('smr_alliance.inc'));
44

engine/1.2/alliance_leadership.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
$db->query('SELECT leader_id FROM alliance WHERE game_id=' . SmrSession::$game_id . ' AND alliance_id=' . $player->alliance_id . ' LIMIT 1');
44
$db->next_record();

engine/1.2/alliance_leadership_processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22
$leader_id = $_REQUEST['leader_id'];
33
$db->query("UPDATE alliance SET leader_id = $leader_id " .
44
"WHERE alliance_id = $player->alliance_id AND " .

engine/1.2/alliance_leave_confirm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?
1+
<?php
22

33
$db->query('SELECT leader_id FROM alliance WHERE game_id=' . SmrSession::$game_id . ' AND alliance_id=' . $player->alliance_id . ' LIMIT 1');
44
$db->next_record();

0 commit comments

Comments
 (0)