commit:     0bd5605997c5c45b631f75606cfe87544c5e3082
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 06:38:38 2018 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 06:38:38 2018 +0000
URL:        https://gitweb.gentoo.org/proj/bouncer.git/commit/?id=0bd56059

php: fix whitespace.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 php/index.php | 18 +++++++++---------
 1 file 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'])) {

Reply via email to