Skip to content

Commit 0380835

Browse files
committed
Refactor: Omit PHP closing tags
1 parent dc23557 commit 0380835

20 files changed

+1
-22
lines changed

3wifi.php

-1
Original file line numberDiff line numberDiff line change
@@ -1959,4 +1959,3 @@ function highlightWords($text, array $words)
19591959

19601960
Header('Content-Type: application/json');
19611961
echo json_encode($json);
1962-
?>

3wifid.php

-1
Original file line numberDiff line numberDiff line change
@@ -481,4 +481,3 @@ function checkAPs($aps)
481481
break;
482482
}
483483
$db->close();
484-
?>

api/ajax.php

-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,3 @@
118118

119119
Header('Content-Type: application/json');
120120
echo json_encode($json);
121-
?>

config.php-distr

-2
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,3 @@ define('GUEST_WAIT', 10);
6565

6666
// Daemons
6767
define('GEO_PORTION', 100);
68-
69-
?>

db.php

-2
Original file line numberDiff line numberDiff line change
@@ -551,5 +551,3 @@ function quote($var)
551551
global $db;
552552
return $db->real_escape_string($var);
553553
}
554-
555-
?>

dlink_seq.php

-1
Large diffs are not rendered by default.

geoext.php

-1
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,3 @@ function cURL_Get($url, $proxy = '', $proxytype = -1, $proxyauth = '')
252252
curl_close($ch);
253253
return $data;
254254
}
255-
?>

import.free.php

-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@
9292
$geo->execute();
9393
}
9494
}
95-
?>

index.php

-1
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,3 @@ function setFloat($in, &$out)
224224
preparePage($content);
225225

226226
echo str_replace('</body>', $incscript.'</body>', $content);
227-
?>

ipext.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,4 +483,4 @@ function API_get_ranges($lat, $lon, $radius)
483483
array_unique($result, SORT_REGULAR);
484484
}
485485
return $result;
486-
}
486+
}

l10n/en-US.php

-1
Original file line numberDiff line numberDiff line change
@@ -726,4 +726,3 @@
726726
'Nickname';
727727
$l10n['str_inv_left'] =
728728
'Invites left:';
729-
?>

l10n/en.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<?php
22
include_once 'en-US.php';
3-
?>

l10n/ru-RU.php

-1
Original file line numberDiff line numberDiff line change
@@ -726,4 +726,3 @@
726726
'Никнейм';
727727
$l10n['str_inv_left'] =
728728
'Осталось приглашений:';
729-
?>

l10n/ru.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
<?php
22
include_once 'ru-RU.php';
3-
?>

statext.php

-1
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,3 @@ function getMultiStats($db, $cols, $top, $useloc = false, $where = array(), $pos
256256
$result['date'] = date('Y.m.d H:i:s');
257257
return $result;
258258
}
259-
?>

themes/antichat/theme.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
$theme_data['css'] = "$theme_base/$theme/style.css?2021-01-05";
33
$theme_data['head'] = "<div class=pageWidth><div class=logo1></div><div class=logo2><div class=logo3></div></div><span class=helper></span></div>";
44
$theme_data['ajax'] = "$theme_base/$theme/img/ajax.gif";
5-
?>

user.class.php

-1
Original file line numberDiff line numberDiff line change
@@ -832,4 +832,3 @@ public function AuthByApiKey($ApiKey, $loadData=false)
832832
return true;
833833
}
834834
}
835-
?>

user.php

-1
Original file line numberDiff line numberDiff line change
@@ -1381,4 +1381,3 @@ function getFloatCoord($coord)
13811381
header('Content-Type: application/json');
13821382
echo json_encode($json);
13831383
}
1384-
?>

utils.php

-1
Original file line numberDiff line numberDiff line change
@@ -521,4 +521,3 @@ function loadLanguage()
521521
$lang = detectBestLang($langs);
522522
return "l10n/$lang.php";
523523
}
524-
?>

wpspin.php

-1
Original file line numberDiff line numberDiff line change
@@ -792,4 +792,3 @@ function API_pin_search($bssid)
792792
}
793793
return $result;
794794
}
795-
?>

0 commit comments

Comments
 (0)