aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-12-09 22:38:38 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2018-12-09 22:38:38 -0800
commit0bd5605997c5c45b631f75606cfe87544c5e3082 (patch)
tree3b4bb579237f5026fb2a84ae26b9228653c9e004
parentperl/sentry: fix whitespace (diff)
downloadbouncer-0bd5605997c5c45b631f75606cfe87544c5e3082.tar.gz
bouncer-0bd5605997c5c45b631f75606cfe87544c5e3082.tar.bz2
bouncer-0bd5605997c5c45b631f75606cfe87544c5e3082.zip
php: fix whitespace.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--php/index.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/php/index.php b/php/index.php
index d1d4733..abb9671 100644
--- a/php/index.php
+++ b/php/index.php
@@ -43,16 +43,16 @@ if (!empty($_GET['os'])&&!empty($_GET['product'])) {
}
// LANGUAGE HACK
- if (!empty($_GET['lang'])) {
-//// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']);
- $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']);
- }
+ if (!empty($_GET['lang'])) {
+ //// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']);
+ $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']);
+ }
- // BitTorrent HACK - robbat2
- if (!empty($_GET['extra'])) {
- $extra = $_GET['extra'];
- $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra);
- }
+ // BitTorrent HACK - robbat2
+ if (!empty($_GET['extra'])) {
+ $extra = $_GET['extra'];
+ $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra);
+ }
// if we are just testing, then just print and exit.
if (!empty($_GET['print'])) {